Class myphysicslab.sims.engine2D.DoNothingApp

Provided By
All Implemented Interfaces

Simulation of the Do Nothing Grinder, which consists of two shuttle blocks, each moving in its own groove, and a handle connects the shuttles. You can move the shuttles by pulling on the handle.

This is a strong test of the physics engine in ComputeForces. The contacts are very redundant, especially when a shuttle straddles the middle point.

This app has a config() method which looks at a set of options and rebuilds the simulation accordingly. UI controls are created to change the options.

new DoNothingApp( elem_ids )

elem_ids{container: string, div_graph: string, div_terminal: string, div_time_graph: string, graph_controls: string, images_dir: string, label_terminal: string, show_sim: string, show_terminal: string, sim_applet: string, sim_controls: string, tab_list: string, term_input: string, term_output: string, time_graph_controls: string}

specifies the names of the HTML elementId's to look for in the HTML document; these elements are where the user interface of the simulation is created.

Instance Methods

Instance Properties

Static Functions

Static Properties

Type Definitions