Brent Walther

Rigid Body Demo

Sunday, Mar 29, 2015

A simulation of a rigid-body cube 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 basic euler integration by default which can be unstable but has an option to use Runge-Kutta second-order method for greater stability.

You can use A and D keys to rotate the view. A rigid body (in physical simulation) is most basically described as a dice or other hard object which simply transfers energy within itself rather than absorbing it via a spring force.