DriftCapture · interface
OptimiseOptions
Explained in DriftCapture.
interface OptimiseOptionsimport type { OptimiseOptions } from '@driftengine/capture';Properties
| Name | Type | Description |
|---|---|---|
intrinsicsreadonly | readonly [number, number, number, number] | fx, fy, cx, cy, shared by every frame, as the path was solved with. |
widthreadonly | number | |
heightreadonly | number | |
seedsreadonly | Float64Array | Three per point: where the fit starts, usually the path's own sparse reconstruction. |
budgetreadonly | number | The most Gaussians the answer may carry. |
iterationsreadonly | number | |
randomreadonly | () => number | The engine's seeded generator: the same one twice gives the same capture. |
initialScalereadonlyoptional | number | The standard deviation every Gaussian starts at, in metres.MoreLeft out, it is the distance from each seed to its nearest neighbour — the spacing of the cloud, which is the size at which the seeds tile what they were sampled from. A cloud of one seed has no spacing, and is refused rather than given a number out of the air. |
viewDependentreadonlyoptional | boolean | Fit the degree-1 band as well as the constant term. |
refineEveryreadonlyoptional | number | How often the cloud is grown and pruned. |