Giter VIP home page Giter VIP logo

astraea's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.