Skip to main content

Deterministic pixel-art space asset utilities for starfields, asteroid tiles, sprite cleanup, galleries, and previews.

Project description

Pixel Space Asset Toolkit

Deterministic procedural tools for pixel-art sci-fi prototypes: starfields, hex asteroid tiles, transparent-background cleanup, preview sheets, and Godot import guidance.

This repo is intentionally more visual than the audit tools, but it still behaves like a production CLI: fixed seeds, manifests, tests, and repeatable outputs.

Install

python -m pip install -e .

When published:

python -m pip install pixel-space-asset-toolkit

Quick Start

pixel-space-assets starfield --width 1080 --height 1920 --seed 42 --stars 900 --output generated\starfield.png --manifest generated\starfield.json
pixel-space-assets asteroid-hex --material ferric --count 32 --size 64 --seed 7 --output generated\ferric
pixel-space-assets strip-background input.png --output cleaned.png --tolerance 4
pixel-space-assets preview generated\ferric --columns 8 --cell-size 64 --output generated\ferric_preview.png
pixel-space-assets compare baseline.png current.png --diff-output generated\diff.png --format json
pixel-space-assets starfield --width 1080 --height 1920 --seed 42 --stars 900 --output generated\starfield.png --format json

Tools

  • starfield: deterministic pixel starfield backgrounds.
  • asteroid-hex: deterministic transparent hex asteroid tiles.
  • strip-background: converts a flat corner-color background to alpha.
  • preview: builds contact sheets for review.
  • compare: compares two PNGs and writes a red-highlight diff image.

Sample Gallery

Generated from fixed seeds:

Generated starfield

Ferric asteroid preview

Open examples/gallery/index.html for a simple static gallery view.

Documentation

Development

python -m pip install -e .
python -m unittest discover -s tests -v
pixel-space-assets starfield --width 64 --height 64 --seed 1 --stars 20 --output generated\starfield.png

Examples are generic and reproducible. Private project-specific art should stay outside the published repository unless intentionally released.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pixel_space_asset_toolkit-0.1.2.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pixel_space_asset_toolkit-0.1.2-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file pixel_space_asset_toolkit-0.1.2.tar.gz.

File metadata

File hashes

Hashes for pixel_space_asset_toolkit-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1ddb6581a3a65e00dc21294a7505fae6824112b0e1df8e9c6df4713bce2ce4d1
MD5 937380e2c13cd6a0b69befa4b5184b92
BLAKE2b-256 ce2c414df93f420c7168a7f54b1b77b2868a09bd43c54f0a0f46c065c0d1f006

See more details on using hashes here.

Provenance

The following attestation bundles were made for pixel_space_asset_toolkit-0.1.2.tar.gz:

Publisher: publish-pixel-space-asset-toolkit.yml on NonniGB/godot-production-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pixel_space_asset_toolkit-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pixel_space_asset_toolkit-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2515c9febcd811ef4cea2291a5acfa1892a1c18fa797dd16417e3385feb4b584
MD5 5b8f6501f8553441993aec36c33c59ac
BLAKE2b-256 ba96e1d57720bb00f8d22d80547b32a677b59e426065a64c7aa1f2a3cb4cc464

See more details on using hashes here.

Provenance

The following attestation bundles were made for pixel_space_asset_toolkit-0.1.2-py3-none-any.whl:

Publisher: publish-pixel-space-asset-toolkit.yml on NonniGB/godot-production-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page