How kingzyphornet/noisegen works
NoiseGen is a small Python library for generating seeded 2D noise maps and converting normalized values into grayscale PNG heightmaps. Its main workflow is noise generation followed by image conversion and saving. The sampled implementation also supports interpolation, value noise, and layered octaves. Terrain-specific controls and Minecraft-oriented generation are documented as future goals, not current runtime components.
Main entry points: image.py PNG saver · noise.py Interpolated map
Components 10
Noise Generation
- Random map
src/noisegen/noise.py - Interpolated map
src/noisegen/noise.py - Value noise
src/noisegen/noise.py - Octave noise
src/noisegen/noise.py - Linear interpolation
src/noisegen/noise.py
Image Output
- Grayscale conversion
src/noisegen/image.py - Pillow image API
- PNG saver
src/noisegen/image.py - PNG heightmap
Other components
- Library caller
Connections 12
- Library caller → Random map: requests map
README.md - Library caller → Interpolated map: requests map
README.md - Library caller → Value noise: requests map
README.md - Library caller → Octave noise: requests map
README.md - Interpolated map → Random map: generates base
src/noisegen/noise.py - Interpolated map → Linear interpolation: interpolates
src/noisegen/noise.py - Value noise → Linear interpolation: interpolates
src/noisegen/noise.py - Octave noise → Value noise: generates octaves
src/noisegen/noise.py - PNG saver → Grayscale conversion: converts map
src/noisegen/image.py - Grayscale conversion → Pillow image API: creates image
src/noisegen/image.py - PNG saver → Pillow image API: saves PNG
src/noisegen/image.py - PNG saver → PNG heightmap: writes image
src/noisegen/image.py