Anchor Physics Simulator in JavaScript
pjama.github.io
Anchor Physics Simulator in JavaScript
1–8 of 8 posts
Re: Anchor Physics Simulator in JavaScript
#2You and me both
Re: Anchor Physics Simulator in JavaScript
#3Re: Anchor Physics Simulator in JavaScript
#4Leapfrog is the same process as Euler integration, except the velocity values are initially nudged to set their state to the middle of the update timestep so that when the timestep is applied from t to t+1, the velocity applied is middle/average of that step (at t+0.5)
Verlet integration noted by this project, seems to be essentially Leapfrog integration, while not storing velocity data explicitly-separately from position information.
From a programming perspective, these seem to be very basic and similar integration schemes which can be overcomplicated by mathematical descriptions. I have programmed and used leapfrog basically. The Rebound engine includes some tasty looking advanced integration schemes where the fine math seems more necessary to grasp what is being calculated.
Re: Anchor Physics Simulator in JavaScript
#5Re: Anchor Physics Simulator in JavaScript
#6Adjusting chain weight makes the chain stretch, is this detail outside of the scope of this demo?
Re: Anchor Physics Simulator in JavaScript
#7Re: Anchor Physics Simulator in JavaScript
#8Make the water deep enough (max depth) and it will drag.