Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

70+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/Dither Canvas

Dither Canvas

A grainy canvas background that adds computational texture behind hero copy, product sections, and technical brand moments.

canvas-shader
DemoDemoDemo

Tune the Real Props

Overview

Dither Canvas creates a supporting surface: a grainy digital texture gives the hero signal.

Use it behind hero copy, product sections, and technical brand moments where the background should make the page feel engineered without asking the browser to run a cinematic universe.

The main risk is readability. Headlines, body copy, fields, and CTAs must stay clear above the layer. On mobile it drops to fewer character columns and turns off cursor distortion, but there is no reduced-motion mode or static fallback, so the field keeps animating.


Usage Code

page
1import DitherCanvas from "@/components/effects/dither-canvas";2 3export default function Page() {4  return (5    <main className="relative min-h-screen w-screen overflow-hidden bg-black">6       <DitherCanvas7        charColumns={100}8        colorizeFromVideo9        videoZoom={1.9}10        charZoom={0.9}11        spellBrightChars12      />13    </main>14  );15}

Example Production Use Case

A robotics company can use Dither Canvas behind the hero of a product announcement. A short clip of the machine in motion is rendered as a dense field of characters, and moving the cursor distorts the field like fluid while the headline sits in clear HTML on top.

The outcome is texture with signal. The page feels computational before the visitor reads a word. In production, preserve readable HTML above the surface, cap animation cost, pause offscreen work, and provide a static fallback.


Best Used For

  • Technical and editorial heroes where grain, signal, or computational texture supports the claim.
  • Short, high-contrast sections that can pause animation or swap to a static texture.
  • Dither Canvas adds atmosphere behind the message without making the background the product.

Not For

Not for low-contrast text sections, long reading pages, or pages already carrying heavy video/WebGL cost.


Performance Budget

Keep density low enough to protect text, pause animated canvas work offscreen, and provide a static CSS/image fallback.


Accessibility and Mobile

Decorative backgrounds should be hidden from assistive technology. On mobile, reduce density and keep foreground contrast high.


Common Mistakes

  • Letting Dither Canvas compete with foreground text.
  • Animating canvas work offscreen.
  • Choosing canvas/WebGL when CSS would do the job.

Changelog

Added a reduced-motion notice: this effect is a continuous cursor-driven fluid distortion and can't be reduced without losing it entirely, so it now surfaces that instead of silently ignoring the preference.
Initial release

API Reference

PropTypeDefaultDescription
charColumnsnumber145Controls the density of generated character columns.
colorizeFromVideobooleanfalseUses video color data instead of fixed monochrome characters.
videoZoomnumber1Zoom level applied to the video source.
charZoomnumber1Scale factor for the rendered character grid.
colorBoostnumber1.4Boosts sampled color intensity. Needs Colorize From Video on.

Questions, Answered.

When should I use Dither Canvas?

Use it when a grainy digital texture gives the hero signal supports the foreground message without harming readability.

Can Dither Canvas ship without WebGL?

No. Dither Canvas renders with a WebGL2 shader and draws nothing in browsers without WebGL2.

How do I protect text contrast with Dither Canvas?

Use masks, fades, lower opacity, and density controls around headings, forms, and CTAs.

Should Dither Canvas pause offscreen?

The render loop already pauses while the canvas is offscreen or the tab is hidden.

What is the mobile fallback for Dither Canvas?

Below 640px it renders 45% of the character columns (55% on tablets) and, with disableMobileCursor on by default, ignores the cursor. It does not switch to a static texture.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Spider Particles Background
Three.js

Spider Particles Background

Backgrounds

Dotted Grid Background
canvas

Dotted Grid Background

Backgrounds

Coffee Bean Cursor
Pro
Three.js@react-three/drei@react-three/fiber

Coffee Bean Cursor

Cursor

Infinite Perspective Slider
GSAP

Infinite Perspective Slider

Scroll

Gooey Counter
canvas

Gooey Counter

Components