Skip to content

@modoki/engine / index / MinMax

Interface: MinMax

Generic curve/color-gradient types + pure sampling helpers — no THREE, no GPU, fully unit-testable. Used by the particle schema's over-life modifiers and spawn values, and by MaterialInstance's curve-driven parameters. Generic enough that neither consumer should own it — that's why it's L0 core rather than living under particles/. Numbers that vary use MinMax (uniform random between min/max); properties that animate over 0..1 use Curve (piecewise-linear) or Gradient (color/alpha).

Particles

max

max: number


min

min: number

Built with Modoki.