clocks/space/stars library

Classes

Star
🌠 Star Represents a Star

Constants

kNumberStars → const int
The default number of stars we will generate
kStarTravelTime → const int
⏱️ Star Travel Time
kSteps → const int
🔬 The "resolution" of the starfield render batching N = number of draw calls to draw stars N = the number of transitions of opacity we do from near to far
kStepSize → const double
Precalculated step size

Functions

drawStars(Canvas canvas, Size size, double rotation, double time) → void
📲 Draw Stars