Spring Physics Experience the bounciness! Click nodes to drag them. Go on options to edit their mass and length. Change stiffness of the spring from the bottom-right buttons. Press space to hide nodes, and see the cool shape. Press pause to pause the action, and edit the placement of the nodes without them having acceleration. Clone adding and deleting will be added next update.
All coding and art by me! Versions at the bottom! This project uses Hookes Law for the springs to look and bounce in such a way that satisfies us! Here is a link for more explanation: https://en.wikipedia.org/wiki/Hooke%27s_law The formula I used, for this buoyant force, is: Force_x = -k*(d - l)*(t_x - x)/l - b(d_2 - (t_2_x - x)/l Force_y = -k*(d - l)*(t_y - y)/l - b(d_2 - (t_2_y - y)/l acc_x = Force_x/35mass acc_y = Force_y/35mass d is current length, l is real length, t_x and t_y and target x and y values, b is the excess timestep, the sub 2 are the other targets. The formula for the 'normal' equation is Force = -k*x k is the stiffness while x is the displacement v.1.3 Added Gravity Option v.1.2 Added Node Adding v.1.1 Bug fixes, every clone option v.1.0 Release date