CreateApp lets you experiment building a rigid body simulation via scripting. It has a ContactSim, LabCanvas, SimView, Terminal and other objects already created. Below is a sample script to try by entering in Terminal.
NOTE: This will only work on simple-compiled versions of this app; advanced-compiled versions cannot execute JavaScript.
This page is for testing and development please see myPhysicsLab for the published version of this simulation.