Skip to main content

Module formation

Module formation 

Source
Expand description

Target formation shapes for amorphous entities.

Every formation is a mathematical function mapping index → 3D offset. Formations are composable: scale, rotate, translate, and join operations allow building complex shapes from simple primitives.

Structs§

Formation
A formation: a list of 3D offsets from the entity center with per-slot characters.