Skip to content

Interface: LayoutProgress ​

Positions of a simulation on its way to rest. The arrays are the caller's to keep.

Properties ​

PropertyModifierTypeDescription
alphareadonlynumberHow far from rest, 1 to 0.
settledreadonlybooleanThese are the final positions and only the bundled routes are still to come (a request with bundle). Otherwise they are the simulation's on its way: centered as the result will be, but not yet cleared of the last overlaps, which the result is.
threadreadonlyLayoutThread-
ticksreadonlynumberTicks run so far and the ticks from start to rest.
totalTicksreadonlynumber-
xreadonlyFloat64Array-
yreadonlyFloat64Array-
z?readonlyFloat64Array<ArrayBufferLike>-

Released under the MIT License.