Source code: Paintball ProjectileLayer
Download to sketchbook: Paintball.zip
Required library (install in sketchbook "libraries" folder): traer.physics 3.0
Built with Processing
Use the mouse to shoot paintballs at the background. By drawing the paintballs on a separate layer, we don't have to worry about drawing the splattered paint in every frame. Press any key to clear the screen. Unleash your inner Jackson Pollock.