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 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:

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.4.tar.gz (11.9 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.4-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pixel_space_asset_toolkit-0.1.4.tar.gz
Algorithm Hash digest
SHA256 d1c0979cf61760d4d63c81d09426eed861b65ad3a59da4c9f465865be01ab210
MD5 7ae32d451dd5980f0d93627c6cfe9a4c
BLAKE2b-256 5602ac7822a0a23d2a71a1b346cf75e7955614f1e2a9865f7cfb82b0c2b55b30

See more details on using hashes here.

Provenance

The following attestation bundles were made for pixel_space_asset_toolkit-0.1.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pixel_space_asset_toolkit-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c19300041d8bfeff0b65f4b919d217a221b39d82b107958e75590355cf33daa5
MD5 82fbf0834060f6f9790ac09b259464b5
BLAKE2b-256 fcf608466e83a18855e21635c0c2764bb3b7b0b443e3d078fe4d0a00191b297a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pixel_space_asset_toolkit-0.1.4-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