ooooscillating
SKILLS : Nature of Code, processing
For Nature of Code last week, we had to program an example of something demonstrating oscillating movement. Although I originally thought of the particular forces that exist between the nucleus and electrons of an atom, I decided to play up the idea by relating the gravitational mass of the “nucleus” in my sketch with the degree of oscillation between the corresponding “electrons”.

This code was heavily adapted from Shiffman’s code.