Game Dev Tools

sprout-toolkit

[ Open Source ][ Active ]

Deterministic procedural 2D asset generation for Expo + react-native-skia

sprout is an open-source toolkit for deterministic procedural 2D asset generation: it generates atlases, tilemaps, autotiles, bitmap fonts, and SkSL shaders from JSON specs. Same seed, same pixels, every time — reproducible and testable in CI. Installs via `sprout-toolkit` on PyPI.

// Features

  • Deterministic procgen: numeric seeds reproduce identical atlases, testable in CI
  • Six generators: terrain (seamless + autotile), blob_walk, props, particles, ui, and bitmap fonts from TTF
  • 8-bit autotile (16/47 variants) and runtime SkSL shaders emitted as source — no added bundle weight
  • JSON spec-driven CLI: generate, batch, watch, info, lint, diff, and validate, with TypeScript-ready export (manifest.json + index.ts)
  • Flexible export: PNG8/PNG24, TexturePacker format, and atlas mipmaps — all opt-in
  • Open source, MIT-licensed, 142 tests across Python 3.10–3.13

// Technologies

PythonTyperPillowreact-native-skiaExpo