Skip to content

Biology kit

Cargo featurefeatures = ["biology"]

The biology kit is the biology feature of fframes-kit (fframes-kit = { .., features = ["biology"] }) and needs no other crate. It builds for wasm32, so every figure here also runs in the editor, except DnaHelix3D, which needs the 3d feature as well. Every entry names its scene in the components gallery (cargo run --release -p components-gallery -- strip <Scene> -n 8).

  • Placement. A figure is placed in units of ui.space (Manim’s frame: 8 units tall, y up, the origin in the middle). Its sizes are in pixels.
  • Seeded. Anything random (where the free ribosomes of a cell sit) comes from a seed, so every render draws the same picture.
  • Named parts. Figures that name their parts put the names in columns beside the figure, each joined to its part by a leader line that draws when the part appears.