Crate dexterior_visuals

source
Expand description

Real-time visualization for simulations implemented with dexterior.

This crate is in an early state of development, currently only supporting a handful of 2D use cases. More features and an extension to 3D are planned in the future, and major API changes are likely to occur as a result.

To visualize a simulation, first create a RenderWindow, then call run_animation on it. See the examples in the dexterior repo for concrete usage.

Re-exports§

Modules§

Structs§

Enums§

  • The shape to draw at the start or end of a line segment or strip.
  • The shape to draw at the connection points between line segments in a line strip.
  • How to interpret point data given to the line renderer.
  • The width of a line and which space it’s defined in.

Traits§

Type Aliases§

  • Colors in color maps are represented as 8-bit colors in linear sRGB space.