Star Lattice
A slowly turning globe of clustered nodes wired to their neighbours, lighting up under the pointer.
pixikit.com/docs/effects/star-lattice
Customize
Preset
Colors2 of 10
Background color
Nodes2400
Connections4
Reach0.20
Clustering0.85
Chords0.35
Radius0.40
Origin x0.50
Origin y0.50
Line opacity0.70
Node size0.80
Depth fade0.70
Spin1.00
Tilt18°
Interactive
Draggable
Hover radius0.22
Hover boost1.00
Click pulse
Pulse speed1.20
Seed0
Paused
Props
28| Name | Type | Default | Description |
|---|---|---|---|
preset | "violet" | "cyan" | "mono" | "rose" | "ink" | "lilac" | "violet" | A color set; colors and backgroundColor follow it until you pass them. |
colors | string[] | ["#7C6BFF", "#FFE6FA"] | Two colors: the network, then the highlight that tints hubs, the pointer glow and click pulses. |
backgroundColor | string | "#0a0a0a" | Color behind the globe. On a light color the network is drawn as ink. |
nodes | number | 2400 | Number of nodes, 100 to 2500. |
connections | number | 4 | Lines each node draws to its nearest neighbours. |
reach | number | 0.2 | Longest distance a neighbour line may span, relative to the radius. |
clustering | number | 0.85 | How strongly nodes gather into clusters; 0 spreads them evenly. |
chords | number | 0.35 | Amount of faint long lines that cross the globe. |
radius | number | 0.4 | Radius of the globe, relative to the height. |
originX | number | 0.5 | Horizontal position of the center, 0 is the left edge. |
originY | number | 0.5 | Vertical position of the center, 0 is the top edge. |
lineOpacity | number | 0.7 | Opacity of the lines. |
nodeSize | number | 0.8 | Size of the nodes. |
depthFade | number | 0.7 | How much the far side of the globe fades. |
spin | number | 1 | Rotation speed; negative values turn the other way. |
tilt | number | 18 | Tilt of the axis in degrees. |
interactive | boolean | true | Turns every pointer effect on or off: the highlight, the lean, dragging and click pulses. |
draggable | boolean | true | Drag to spin the globe. It keeps its momentum and settles back to its spin. |
hoverRadius | number | 0.22 | Size of the area the pointer lights, relative to the height. |
hoverBoost | number | 1 | Strength of the pointer highlight. 0 turns it off. |
clickPulse | boolean | true | Each click sends a pulse from the point you clicked across the whole globe. Rapid clicks stack. |
pulseSpeed | number | 1.2 | Speed of the click pulse. |
seed | number | 0 | Picks another arrangement of the network. |
paused | boolean | false | Stops the rotation and the twinkle. Dragging and pulses still work. |
dpr | number | 2 | Upper limit for the device pixel ratio. |
className | string | None | Classes for the root element; give it a height. |
style | CSSProperties | None | Inline styles for the root element. |
children | ReactNode | None | Content layered above the effect. |