➰ loop-imation ➰
Loop-imation is a set of examples of building looping geometric animations in p5.js, first used for a short workshop by Rasagy Sharma at Processing Community Day 2020 in Bengaluru (India).
Slides
Evaluating other looping animations
- Why is this a loop?
- When does it loop?
- How does it loop?
Code examples (Opens in P5.js Web Editor)
You can find all the starter codes in this neat P5 collection. Built using the delightful p5.createLoop library.
1. Start from nothing, make something & eventually fade to nothing
Fade & grow
![Circle growing & fading out](https://github.com/rasagy/loopimation/raw/master/GIFs/grow-linear.gif?raw=true)
Fade & grow with a sin() function
![Circle growing & shrinking](https://github.com/rasagy/loopimation/raw/master/GIFs/grow-sin.gif?raw=true)
2. Enter & Exit [the canvas]
Enter & Exit
![Enter & Exit with sin()](https://github.com/rasagy/loopimation/raw/master/GIFs/enter-exit.gif?raw=true)
3. Anchor frame
One Circle revolving
![Circle revolving](https://github.com/rasagy/loopimation/raw/master/GIFs/revolve.gif?raw=true)
Lots of circles
![8 circles revolving](https://github.com/rasagy/loopimation/raw/master/GIFs/revolve-set.gif?raw=true)
References
- Golan Levin’s lecture with historical context
- Dan Shiffman’s Coding Train video on making looping animations
- Bees and bombs by Dr. Dave Whyte
- Saskia Freeke’s daily art
Contribute
Have an idea? Made some interesting loops using p5.createLoop? Add an issue/send a PR!