I mentioned the tutorials:
-
trigonometry. This explains cos and sin which I used for the speed/ direction of the shrapnel in the explosion. You could try to write a sketch that draws a circle without using circle / ellipse command : https://www.processing.org/tutorials/trig/
-
objects: teaches about classes, objects, oop and constructor : https://www.processing.org/tutorials/objects/