Create a new Simulation object with the provided Universes and visualization config.
array of Universes.
Optional
controller?: ControllerTypeOptional
looped?: booleanOptional
maxOptional
maxOptional
record?: booleanOptional
showOptional
showOptional
visInsert the simulation visualization in the div with the given id.
div id.
width of the visualization.
height of the visualization.
initial time scale.
whether to start the simulation paused.
number of seconds to record for, only used if in record mode.
speed of the recording, only used if in record mode.
Generated using TypeDoc
A Simulation object that contains Universes and a Visualizer.