Using ggplot2 to make physics animations, just for fun. To render an animation,
Rscript fireworks.R
Each frame is rendered as a ggplot2 plot, and written to /img/animation
. I also wrote a simple utility to stitch the frames together: gifmake. You can do
pip install gifmake
gifmake /img/animation