Jimmy Andrews, Project 4:

"implement some simulation"

For this project I implemented a finite element simulation.
It's using modified euler and very small timesteps,
+ the finite element model described in OH99,
+ penalty forces around the boundaries of the screen.

click a vertex to drag it around on a spring!
press '1' '2' or '3' to switch the mesh.
The sliders control the elasticity and damping of the material.

This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

Source code: FiniteElements Draggable

Built with Processing