Brent Walther

Springy Mesh Cube

Sunday, Mar 22, 2015

Tags: project

A simulation of a cube represented as a springy mesh (connected corners) that I built Spring 2015 for Dr. Keyser’s Physically Based Modeling (CSCE-649) class at Texas A&M using three.js and vanilla Javascript. It uses Runge-Kutta Euler method to integrate movement over time. It uses Runge Kutta second-order by default but can optionally use fourth-order for greater stability.

You can use A and D keys to rotate the view.

Demo