Particle/attractor code written by TomC, in this sketch
A test of 6 different fade/blur methods, all using integer arithmetic exclusively, in an attempt to get a reasonable speed.
Press any key to switch modes, and click the mouse to start a new set of attractors.
Modes:
  1. Ramped fade, colour halves each frame
  2. Linear fade, red/green/blue all fade by '8' each frame
  3. Per line random number bitwise AND-ed with red/green/blue
  4. Per line, per colour bitwise AND
  5. Per frame, per colour bitwise AND
  6. Balanced 1 radius blur, a pixels colour is an average fo itself, and the average of the 4 surrounding it
Source code
Built with Processing