Basically a port from Rust to C of this project that is also a port of Daniel Shiffman's Starfield p5.js sketch for the Playdate
Just turn the crank forward to accelerate. Have fun!
This one does not throw a stack overflow when the stars are over a certain number like the other project (which needs investigation). In fact, it is able to display 10000 particles at screen at runtime without using any pre-computed value at ~20 fps
First you need to install the Playdate SDK, then use your terminal to move inside the project folder and run
make
Then drag the starfield.pdx
file on your Playdate Simulator or sideload it on your device
* The name has nothing to do with the game Starfield