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
namedescriptiontypevalues
colorBackBackground color shown behind the web.stringhex / rgba
colorMidMain color of the fluid lines.stringhex / rgb
colorFrontHighlight color at line intersections.stringhex / rgb
brightnessLuminosity of the crossing points.number0 → 1
contrastSharpness of the bright-to-dark transition.number0 → 1
speedAnimation speed of the flowing web.number0 → 3
fitHow the pattern is fit into the canvas.stringnone · cover · contain

Common Props

6
namedescriptiontypevalues
originXReference point for positioning width in the canvas.number0 → 1
originYReference point for positioning height in the canvas.number0 → 1
worldWidthVirtual width of the graphic before it's scaled to fit the canvas.number
worldHeightVirtual height of the graphic before it's scaled to fit the canvas.number
minPixelRatioMinimum pixel ratio used when rendering the shader (default 2).number
maxPixelCountMaximum pixel count the shader may process.number

built with mischief by devmischief

@devmischief/shaders-svelte