Skip to content

atka66/processing-planetgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Processing Planet Generator

Simple planet surface generator made in Processing.

How to..

..use Processing

..use the planet generator

Hotkeys

  • 'h' - show/hide help
  • 'z' - enable/disable random planet sizes
  • 'q' - scale up
  • 'a' - scale down
  • 'e' - raise max size
  • 'd' - lower max size
  • SPACEBAR - reconstruct
  • 'g' - enable/disable spotlight mode
  • 'w' - double star count
  • 's' - halve star count

Good to know

  • Planet size calculation: (size * 16) - 1
  • When random planet size is enabled, planets are given a random size variable between 1 and max size (this number will be the input in the calculation above)
    • When disabled, all planets are given max size as their size
  • spotlight mode generates nebula, starry background and only one planet in the middle of the screen
    • Each star's brightness is a random value between (0-255)
    • Nebula are yet to be customized
  • Note that scaling down too much might affect performance

Examples

Example Example Example Example Example Example

Contribution

Feel free to leave improvement ideas and report bugs!

ko-fi

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published