Skip to main content

chaos_extent

Function chaos_extent 

Source
pub fn chaos_extent(table: &IfsTable, iterations: u32) -> Extent
Expand description

A CPU run of the same step the compute shader runs, returning the sampled bounding box of the orbit.

Deliberately CPU-side and deliberately not a render (ADR-0075). The property this family rests on — that no reachable table diverges — is about positions, and a capture could only report that the picture looked plausible. Here it is an ordinary assertion over a sweep, provable without a GPU, before a shader ever runs.

It also feeds the framing: Phase 4’s fit is this function at 33 values of morph, run once at configure.

Returns a box that may be non-finite. That is the point — the caller asserts finiteness rather than this silently repairing it.