ui/build/accretion-disc/geometry
ui/build/accretion-disc/geometry
Variables
accretionDiscGeometry
const accretionDiscGeometry: ConfirmationProps<DiscSeed, "ready">;Defined in: apps/website/.api-docs-entry/ui/build/accretion-disc/geometry.d.ts:25
Functions
discLayout()
function discLayout(size): DiscSeed[];Defined in: apps/website/.api-docs-entry/ui/build/accretion-disc/geometry.d.ts:16
A lattice, not a cloud: rings of evenly spaced dots, each ring turning rigidly at its own rate, so the field stays crisp the way a dotted globe's rings do. Ring spacing and dot pitch both clear the largest dot, so nothing overlaps.
Parameters
| Parameter | Type |
|---|---|
size |
number |
Returns
DiscSeed[]
discPoint()
function discPoint(
_state,
seed,
_index,
time): DotPoint;Defined in: apps/website/.api-docs-entry/ui/build/accretion-disc/geometry.d.ts:24
Places one dot on its orbit.
Every quantity is one smooth function of the orbit angle: the far side's lift over the shadow eases in from the crossing instead of switching branches there, and depth follows sin(φ), so a dot's size, ink and draw order all change continuously as it goes round.
Parameters
| Parameter | Type |
|---|---|
_state |
"ready" |
seed |
DiscSeed |
_index |
number |
time |
number |
Returns
DotPoint