Module representation

Module representation 

Source
Expand description

Graphical elements that depict the simulation microstate.

The representation module contains types that you can use to visually represent your sites, bodies, or calculated properties of the simulation state. Each type has implementation dependent details, although most include a setup method that you need to add to the Startup schedule and helper methods that you can call in the Update schedule to synchronize the state.

Most of the types in representation are opaque primitives intended to represent sites or bodies. Some, such as those ending in Boundary are thin outlines intended to represent the simulation boundaries.

Modules§

disk
An outlined circle.
ellipse
An outlined ellipse.
plane_mesh
A 2D mesh
surface_mesh
A 3D mesh

Structs§

HyperbolicDisk
Represent an entity with a 2D disk in the xy plane.
HyperbolicDiskAssets
Assets that represent a Disk in the scene.
HyperbolicDiskMaterial
Control how disks are rendered.
HyperbolicPolygon
Represent an entity with a 2D regular polygon in hyperbolic space.
HyperbolicPolygonAssets
Assets that represent a Disk in the scene.
HyperbolicPolygonMaterial
Control how hyperbolic polygons are rendered.
HyperbolicPolygonMaterialParameters
Material Parameters for hyperbolic polygon.
RectangularBoundary
Represent an simulation boundary with a thin lined rectangle.