Create a new Universe with the provided configuration.
configuration object.
Color of the bodies in the Universe. A single color applied to all bodies or an array of colors applied to each body respectively. Incase of array, length should match the number of bodies in the state.
Label of the Universe.
Scale the radius of the bodies in the Universe. Default is 1.
Simulation function used to simulate the Universe.
Array of transformations to be applied to the Universe's state after simulation and before visualization.
Generated using TypeDoc
A Universe object that contains previous and current state of the universe, a simulation function, frame of reference transformations and other necessary data.