Springs

Common extensions:



Example: spring1.cpp



Without drag, the masses will continue moving forever


Basic formula for drag:

C = coefficient of drag
v = velocity vector


next