Skip to content
Physics animations in ggplot2, just for fun.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img
.gitignore
README.md
bouncy_ball.R
fireworks.R
flubber.R
rain.R
util.R

README.md

ggphysics

'composite'

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
You can’t perform that action at this time.