Ali Imam

Swirl

Shaders 421

About

This appears to be a sophisticated dithering shader with various animated shapes and effects.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Swirl to your project and fits it to your theme.

Code

How Swirl is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { DitheringShader } from "@/components/ui/dithering-shader";

export default function DemoOne() {
  return (
    <div className="relative flex h-full w-full flex-col items-center justify-center overflow-hidden">
      <DitheringShader 
              shape="swirl"
              type="4x4"
              colorBack="#220011"
              colorFront="#00ffff"
              pxSize={4}
              speed={0.9}
            />
      <span className="pointer-events-none z-10 text-center text-7xl leading-none absolute font-semibold text-white tracking-tighter whitespace-pre-wrap">
        Swirl
      </span>
    </div>
  )
}

More by Ali Imam

View all
  • Liquid Glass Button

    Liquid Glass Button

    6.7K
  • Shader Animation

    Shader Animation

    3.7K
  • WebGL Shader

    WebGL Shader

    2.6K
  • Shader Lines

    Shader Lines

    2.3K
  • Shiny Button

    Shiny Button

    2.2K
  • GLSL Hills

    GLSL Hills

    2.1K
  • Canvas

    Canvas

    1.8K
  • Glowing Shadow

    Glowing Shadow

    1.5K

More in Shaders

View all
  • Glass Fold

    Glass Fold

    208
  • Neural Noise

    Neural Noise

    716
  • Wave

    Wave

    684
  • Line Shader Homlu UI

    Line Shader Homlu UI

    48
  • Background Shader

    Background Shader

    303
  • LightSpeed

    LightSpeed

    207
  • animated pattern cloud

    animated pattern cloud

    616
  • Shader Background

    Shader Background

    2K