jon parise // wednesday, july 18, 2018

pygame Starfield Simulation

I was experimenting with the extremely nifty pygame library, and I decided to write a simple starfield simulation. I've always preferred the scrolling parallax starfields to the "warp"-style ones, so that's what I ended up writing.

The code itself is very simple, and it's a good example of using pygame.

It's also kind of fun to let the simulation run on on a large monitor in a dark room. =)