Skip to main content

Module render

Module render 

Source
Expand description

Platform-agnostic render commands for orbital visualization.

Implements the command pattern for rendering, allowing the same simulation to be displayed on TUI (ratatui) or WASM (Canvas/WebGL).

§References

[19] Gamma et al., “Design Patterns,” 1994.

Structs§

BodyAppearance
Body appearance configuration.
Camera
Camera/view configuration.
Color
RGBA color representation.
OrbitTrail
Orbit trail for visualizing past positions.
RenderConfig
Renderer configuration.

Enums§

RenderCommand
Platform-agnostic render command.

Functions§

render_state
Generate render commands from simulation state.