ooooscillating

SKILLS : ,

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”.

Picture 3

This code was heavily adapted from Shiffman’s code.