Work in progress. These docs describe Spawnite at launch, and some parts are still being built.
| Property |
Type |
Default value |
Description |
color |
ColorRepresentation |
undefined |
The runes’ and the trail’s colour. |
coreColor? |
ColorRepresentation |
color 80% of the way to white |
The core’s colour. |
intensity? |
number |
1.5 |
How brightly the runes glow, above 1 for a scene’s bloom; the trail glows a shade under them, and the core at 5/3 of it. |
orbit? |
number |
twice radius, 0.32 |
Metres from the core the runes orbit at, across the ground; their ring tilts, so each rises and falls half as far. |
radius? |
number |
0.16 |
Metres, the core’s radius. Every other size defaults to a share of it, so it grows the whole bolt. |
rate? |
number |
9 |
Radians a second they turn. |
runeRadius? |
number |
0.4375 of radius, 0.07 |
Metres, each rune’s radius. |
runes? |
number |
3 |
How many runes orbit the core. |
shardRadius? |
number |
half radius, 0.08 |
Metres, each shard’s radius across; it is 1.8 times that long. |
trailIntervalSeconds? |
number |
0.025 |
Seconds between one shard and the next. |
trailRadius? |
number |
1.25 times radius, 0.2 |
Metres from the flight’s line the shards spiral at. |
trailSeconds? |
number |
0.3 |
Seconds each shard of the trail takes to shrink away; 0 lays no trail. |
trailTwistRadians? |
number |
1.1 |
Radians round the spiral from one shard to the next. |