Astraea
The planet generator inspired by Planetarium. Please see also the Twitter bot.
I do not authorize the use of anything generated by this project for the selling of NFTs.
Algorithm
By shaving off the extra pixels from the square and bringing them together in the center, the 2D sprite is made to look like 3D.
The planets' patterns are generated by some simple noise functions.
If the plane references 2D noise, it will be scaled incorrectly, like Mercator projection. Therefore, the 3D noise is compressed into a 2D plane.
In other words, it converts 3D noise into a 2D plane and makes it look like a 3D sphere.
Please see my blog post for more information (sorry, it's Japanese).
License
Astraea is licensed under the MIT license. See the LICENSE for more information.
Libraries
- p5.js is licensed under the LGPL-2.1 license.
- seedrandom is licensed under the MIT license.
- simplex-noise is licensed under the MIT license.
- poisson-disk-sampling is licensed under the MIT license.
- zlib.js is licensed under the MIT license.
Assets
- The Corpora is licensed under the CC-0 license.
- The PICO-8 palette is licensed under the CC-0 license.
- The PICO-8 font (unofficial) does not claim any copyright.
- The official font is also licensed under the CC-0 license.