Skip to content

Instantly share code, notes, and snippets.

@jonohayon
Created August 29, 2018 13:44
Show Gist options
  • Save jonohayon/2b99a1e93b151c9e3c9d4c670d7e2452 to your computer and use it in GitHub Desktop.
Save jonohayon/2b99a1e93b151c9e3c9d4c670d7e2452 to your computer and use it in GitHub Desktop.
Points
Notes:
- sin, cos: [-180, 180] -> [-1, 1] === sin, cos are using angles (just for simplicity of writing, the software is using radians).
- All of the acceleration vectors are prependicular to the velocity vectors.
p_0: (0, 0)
v_0: (4.5cos(90), 4.5sin(90))
a_0: (-0.15sin(90), 0.15cos(90))
p_1: (1, 5)
v_1: (4.5cos(85), 4.5sin(85))
a_1: (-0.15sin(85), 0.15cos(85))
p_2: (3, 6)
v_2: (4.5cos(0), 4.5sin(0))
a_2: (-0.15sin(0), 0.15cos(0))
p_3: (6, 6)
v_3: (4.5cos(0, 4.5sin(0))
a_3: (-0.15sin(0), 0.15cos(0))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment