jblog
toc

Spiral

2015-10-25, post № 76

programming, Pygame, Python, #around the center, #black, #black hole, #emission, #galaxy, #particles, #red, #Slow Mo Guys, #slow motion, #spin, #spinning

Inspired by a recent Slow Mo Guys video, I wrote a simulation for the shown effect. I think it looks pretty neat…

Controls

  • Up arrow increases the number of emitted particles,
  • Down arrow decreases the number of emitted particles,
  • ‘Space’ saves a screenshot.
spiral-1.png
spiral-2.png
spiral-3.png
Source code: spiral.py