Simple Harmonic Motion (SHM)

Add some variety to your sprites movement using simple harmonic motion.

Copy and paste any of this code for use in your projects.

1 Like