neuro noise
A glowing, web-like structure of fluid lines and soft intersections. Atmospheric and organic — three colours and two contrast knobs are all you need.
Preview
live Install
npm npm i @devmischief/shaders-svelte Code
import { NeuroNoise } from '@devmischief/shaders-svelte';
<NeuroNoise
width={1280}
height={720}
colorBack="#000000"
colorMid="#47a6ff"
colorFront="#ffffff"
brightness={0.05}
contrast={0.3}
scale={1}
rotation={0}
offsetX={0}
offsetY={0}
speed={1}
fit="none"
/>
Shader Props
7 | name | description | type | values |
|---|
| colorBack | Background color shown behind the web. | string | hex / rgba |
| colorMid | Main color of the fluid lines. | string | hex / rgb |
| colorFront | Highlight color at line intersections. | string | hex / rgb |
| brightness | Luminosity of the crossing points. | number | 0 → 1 |
| contrast | Sharpness of the bright-to-dark transition. | number | 0 → 1 |
| speed | Animation speed of the flowing web. | number | 0 → 3 |
| fit | How the pattern is fit into the canvas. | string | none · cover · contain |
Common Props
6 | name | description | type | values |
|---|
| originX | Reference point for positioning width in the canvas. | number | 0 → 1 |
| originY | Reference point for positioning height in the canvas. | number | 0 → 1 |
| worldWidth | Virtual width of the graphic before it's scaled to fit the canvas. | number | — |
| worldHeight | Virtual height of the graphic before it's scaled to fit the canvas. | number | — |
| minPixelRatio | Minimum pixel ratio used when rendering the shader (default 2). | number | — |
| maxPixelCount | Maximum pixel count the shader may process. | number | — |