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 compare-dir baseline\ferric generated\ferric --diff-output-dir generated\ferric_diffs --format json
pixel-space-assets compare-manifest baseline\ferric\manifest.json generated\ferric\manifest.json --diff-output-dir generated\ferric_manifest_diffs --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.compare-dir: compares PNG sets and writes matching diff images by relative path.compare-manifest: compares generated PNG sets through manifests and reports field drift.
Sample Gallery
Generated from fixed seeds:
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.
Metadata
Release files for pixel-space-asset-toolkit 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pixel_space_asset_toolkit-0.1.4.tar.gz | 11.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pixel_space_asset_toolkit-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.1 kB
Release files / pixel_space_asset_toolkit-0.1.4.tar.gz
| Download URL | pixel_space_asset_toolkit-0.1.4.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1c0979cf61760d4d63c81d09426eed861b65ad3a59da4c9f465865be01ab210
|
|
BLAKE2b-256 checksum How to use checksums |
5602ac7822a0a23d2a71a1b346cf75e7955614f1e2a9865f7cfb82b0c2b55b30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 14, 2026.
Transparency logRelease files / pixel_space_asset_toolkit-0.1.4-py3-none-any.whl
| Download URL | pixel_space_asset_toolkit-0.1.4-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c19300041d8bfeff0b65f4b919d217a221b39d82b107958e75590355cf33daa5
|
|
BLAKE2b-256 checksum How to use checksums |
fcf608466e83a18855e21635c0c2764bb3b7b0b443e3d078fe4d0a00191b297a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 14, 2026.
Transparency log