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

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.3.tar.gz (10.7 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.3-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pixel_space_asset_toolkit-0.1.3.tar.gz
Algorithm Hash digest
SHA256 05659979d05a01cf3dd02fe9e26c86d2087ba02453fc754b8e81b53043fb5402
MD5 8718127e0caf8f31f0451121da0b5e81
BLAKE2b-256 55ea6ddcbb044d228059c0843f7c538f5220cba16099d0104f96b8415c6ccb7c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pixel_space_asset_toolkit-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2f3d85c8ad652ddafbfa4080c42a1f288290251c853024538bc56a1730d67b73
MD5 485907991c00b1c6053c8c4e203473ef
BLAKE2b-256 9fc54e47fe171f42a400d2dfc8721b3b6735e0a34736300c90a881122fe1eb10

See more details on using hashes here.

Provenance

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