SkillAgentSearch skills...

Astraea

A planet generator inspired by Planetarium.

Install / Use

/learn @yurkth/Astraea
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

Assets

References

  • TIC-80 is licensed under the MIT license.
    • To draw a circle in pixels, I used the circb function as a reference.
View on GitHub
GitHub Stars174
CategoryDevelopment
Updated15d ago
Forks13

Languages

JavaScript

Security Score

100/100

Audited on Mar 5, 2026

No findings