pointSlot.orbitalPlace
The mote's drawn position: its stored position plus a slow circle of radius (canvas heights) at rate turns per second, both scaled by params.randomness and varied per mote.
pointSlot.orbitalPlace(
layout: {readonly $: {readonly params: {readonly time: number; readonly randomness: number}}},
cfg: {radius: number; rate: number},
): PointWorldSplatConfig['place']
Import sim from shaders/std and use sim.agentRender.pointSlot.orbitalPlace.
Reads params.time.
Parameters
| Name | Type | Notes |
|---|---|---|
layout | {readonly $: {readonly params: {readonly time: number; readonly randomness: number}}} | |
cfg | {radius: number; rate: number} |
Example
place: pointSlot.orbitalPlace(simLayout, {radius: 0.035, rate: 1.4})
See also
pointSlot.twinkleBrightness— The mote's brightness: a twinkle atfreqcycles per second, blended in byparams.twinkle(0 steady, 1 full shimmer), times a per-mote presence so some motes read nearer than others.pointSlot.presenceRadius— The mote's size:params.bodyRscaled by the same per-mote presence as the brightness, so the motes that read nearer are bigger and brighter together.