- Docs
- Components
- Backgrounds
- Neural Tunnel
Neural Tunnel
An endless tunnel of pulsing neural strands
Customize
Props
27| Name | Type | Default | Description |
|---|---|---|---|
layers | number | 24 | Gyroid octaves stacked into the tunnel, 1 to 34. |
falloff | number | 1.25 | How fast each octave shrinks, above 1. |
blend | number | 1.5 | Softness of the union between octaves. |
feedback | number | 0.6 | How strongly each octave warps the next. |
amplitude | number | 0.5 | Scale of the first octave. |
scale | number | 1 | Overall size of the structure. |
perspective | number | 0.1 | Ray depth, lower widens the field of view. |
zoom | number | 1 | Framing of the tunnel mouth. |
speed | number | 1 | Travel speed through the tunnel. |
bands | number | 20 | Colour cycles across the depth range. |
phase | number | 3.5 | Starting offset of the colour cycle. |
spread | number | 0 | Channel separation across the spectrum, 1 matches the classic palette. |
gamut | number | 1 | Palette amplitude, above 0.5 clips the bands into hard filaments. |
contrast | number | 1.85 | Tone response curve, above 1 deepens the shadows. |
vignette | number | 0.3 | Corner falloff, 0 to 1. |
color | string | "#160a24" | Base colour the tunnel sits in. |
hotColor | string | "#e879f9" | Colour of the bright filaments. |
backgroundColor | string | "#0a0a0a" | Panel backdrop, or "transparent" to show the page through. |
opacity | number | 1 | Master alpha. |
cursorInteraction | boolean | true | Let the pointer steer the tunnel. |
cursorShift | number | 0.25 | How far the pointer steers, 0 to 1. |
paused | boolean | false | Freeze the animation. |
adaptiveQuality | boolean | true | Scale back resolution when the frame budget slips. |
targetFps | number | 60 | Frame rate the quality meter aims to hold. |
dpr | number | 1.5 | Upper device pixel ratio bound. |
className | string | undefined | Extra classes for the panel. |
children | ReactNode | undefined | Content layered above the panel. |
layersnumberGyroid octaves stacked into the tunnel, 1 to 34.
24falloffnumberHow fast each octave shrinks, above 1.
1.25blendnumberSoftness of the union between octaves.
1.5feedbacknumberHow strongly each octave warps the next.
0.6amplitudenumberScale of the first octave.
0.5scalenumberOverall size of the structure.
1perspectivenumberRay depth, lower widens the field of view.
0.1zoomnumberFraming of the tunnel mouth.
1speednumberTravel speed through the tunnel.
1bandsnumberColour cycles across the depth range.
20phasenumberStarting offset of the colour cycle.
3.5spreadnumberChannel separation across the spectrum, 1 matches the classic palette.
0gamutnumberPalette amplitude, above 0.5 clips the bands into hard filaments.
1contrastnumberTone response curve, above 1 deepens the shadows.
1.85vignettenumberCorner falloff, 0 to 1.
0.3colorstringBase colour the tunnel sits in.
"#160a24"hotColorstringColour of the bright filaments.
"#e879f9"backgroundColorstringPanel backdrop, or "transparent" to show the page through.
"#0a0a0a"opacitynumberMaster alpha.
1cursorInteractionbooleanLet the pointer steer the tunnel.
truecursorShiftnumberHow far the pointer steers, 0 to 1.
0.25pausedbooleanFreeze the animation.
falseadaptiveQualitybooleanScale back resolution when the frame budget slips.
truetargetFpsnumberFrame rate the quality meter aims to hold.
60dprnumberUpper device pixel ratio bound.
1.5classNamestringExtra classes for the panel.
undefinedchildrenReactNodeContent layered above the panel.
undefined