Skip to content
PixiKit

Honeycomb Lamp

A hexagon lattice lit by a soft lamp: edges near the light warm from a cool tint to a hot core, and the light leaves an afterglow on the lattice as it travels. It wanders on its own, glides after the pointer, and a click sends sparks racing out along the edges.

pixikit.com/docs/effects/honeycomb-lamp

Customize

Preset
Colors2 of 10
Background color
Cell size1.90
Line width0.50px
Lit width1.8px
Lattice0.40
Glow1.50
Glow radius0.50
Core0.40
Vignette0.00
Grain1.00
Trail length3.0s
Trail width1.00
Follow0.50
Flow0.50
Autoplay
Shimmer1.00
Speed1.00
Interactive
Click pulses
Pulse speed1.00
Seed0
Paused

Props

28
NameTypeDefaultDescription
preset"violet" | "ink" | "amber" | "emerald" | "ice" | "mono" | "graphite""violet"A named palette. Colours you leave at their default follow it; anything you set wins.
colorsstring[]["#5227FF", "#FF9FFC"]Two colours: the cool tint of edges under the light, then the hot colour at its heart.
backgroundColorstring"#0a0a0a"Fill behind the lattice. A light fill switches to ink lines; transparent shows the page.
cellSizenumber1.9Size of the hexagons. 1 puts cell centres 72px apart.
lineWidthnumber0.5Width of the resting lattice lines, in pixels.
litWidthnumber1.8Width of an edge under full light, in pixels.
latticenumber0.4Visibility of the resting lattice. 0 hides it and leaves only lit edges.
glownumber1.5Strength of the glow around lit edges.
glowRadiusnumber0.5How far the glow spreads from a lit edge.
corenumber0.4How close to white the hottest edges burn, from 0 to 1.
vignettenumber0Soft lift of the background toward the centre, from 0 to 1.
grainnumber1Fine film grain over the surface, from 0 to 1.
trailLengthnumber3Seconds the afterglow lingers where the light has passed.
trailWidthnumber1Size of the pool of light and of the afterglow it leaves.
follownumber0.5Stiffness of the spring the light follows the pointer on. Lower values trail further behind.
flownumber0.5Momentum of the afterglow: it keeps drifting the way the light was moving, from 0 to 1.
autoplaybooleantrueWhile the pointer is away the light wanders the lattice on its own.
shimmernumber1A slow band of light sweeping across the resting lattice. 0 turns it off.
speednumber1Pace of the idle motion: the wandering light and the shimmer.
interactivebooleantrueThe light glides after the pointer on a damped spring and leaves a fading afterglow.
clickPulsesbooleantrueA click sends sparks racing outward along the edges. Rapid clicks stack.
pulseSpeednumber1How fast the sparks travel.
seednumber0Changes where the wandering light starts and the path it takes.
pausedbooleanfalseFreezes the idle motion. The pointer and clicks still work.
dprnumber2Maximum device pixel ratio of the canvas, capped at 2.
childrenReactNodeNoneContent laid over the effect, such as a hero headline.
classNamestringNone
styleCSSPropertiesNone

Related