Wed Jul 30, 2014
This is a semi-automated backup of my old Tumblr account.
P5 tweets #48
07/24/2014
One more Processing animation in 140 characters.
http://funprogramming.org/p5tweets/
P5 tweets #47
07/22/2014
I’m proud of p5tweet number forty seven. It uses no functions to draw shapes and chooses no colors. Code at http://funprogramming.org/p5tweets
Replace sin() by noise() for an interesting variation. (Warning: extremely flickering)
Orbiting around moving targets
07/20/2014
Seven consecutive waypoints. A moving target. Depending on the trajectories, sometimes the system falls into an orbit, and the waypoint would never be passed. To solve that, the particle’s acceleration is slowly reduced, to allow it to fall into the attractor, and then switch to the next waypoint.
In these examples, there were randomly 4, 5 and 6 orbits, some easier to escape than others.