Kedhareswer Naidu

Grainy Flame Shader Background

Shaders 34

About

Grainy flame shader background in WebGL: rows of hand-printed riso flames drift on a diagonal across a dark field, with forked tips, dash marks and boiling print grain. Move the pointer to stoke and curl them, click to flare. Five palettes, every knob a prop. React only, no assets.

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

Code

How Grainy Flame Shader Background is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client"

import ColdFlameDrift from "@/components/ui/cold-flame-drift"

const sans = "ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif"
const mono = "ui-monospace, 'SF Mono', Menlo, Consolas, monospace"

// The shader paints everything: no images, no fonts, no requests.
export default function Demo() {
  return (
    <ColdFlameDrift>
      <div
        style={{
          position: "absolute",
          inset: 0,
          display: "flex",
          flexDirection: "column",
          justifyContent: "space-between",
          padding: "clamp(20px, 4vw, 52px)",
          color: "#eaf6ff",
          fontFamily: sans,
          textShadow: "0 2px 24px rgba(0,0,0,.65)",
          background: "linear-gradient(to top, rgba(2,4,6,.7), rgba(2,4,6,0) 42%), linear-gradient(to bottom, rgba(2,4,6,.5), rgba(2,4,6,0) 18%)",
        }}
      >
        <div style={{ display: "flex", justifyContent: "space-between", gap: 16, fontFamily: mono, fontSize: 12, letterSpacing: ".18em", textTransform: "uppercase" }}>
          <span>Cold Flame / Drift</span>
          <span style={{ opacity: 0.7 }}>Riso study N° 042</span>
        </div>
        <div style={{ display: "flex", alignItems: "flex-end", justifyContent: "space-between", gap: 24, flexWrap: "wrap" }}>
          <h1
            style={{
              margin: 0,
              fontFamily: "ui-serif, Georgia, 'Times New Roman', serif",
              fontStyle: "italic",
              fontWeight: 400,
              fontSize: "clamp(56px, 11vw, 168px)",
              lineHeight: 0.86,
              letterSpacing: "-.035em",
            }}
          >
            Burn
            <br />
            cold.
          </h1>
          <p style={{ margin: 0, maxWidth: 260, fontFamily: mono, fontSize: 12, lineHeight: 1.7, letterSpacing: ".12em", textTransform: "uppercase", opacity: 0.8 }}>
            Move to stoke the flames.
            <br />
            Click to flare.
          </p>
        </div>
      </div>
    </ColdFlameDrift>
  )
}

More by Kedhareswer Naidu

View all
  • Glassmorphism Folder Cards

    Glassmorphism Folder Cards

    2.6K
  • GitHub Contribution Graph 3D Heatmap

    GitHub Contribution Graph 3D Heatmap

    1.8K
  • Morph Gallery

    Morph Gallery

    1.4K
  • Halftone Wordmark Footer

    Halftone Wordmark Footer

    1.2K
  • Hanging Polaroid Image Carousel

    Hanging Polaroid Image Carousel

    720
  • Glass Cards

    Glass Cards

    716
  • Particle Animation

    Particle Animation

    645
  • Tiger Tear Reveal

    Tiger Tear Reveal

    638

More in Shaders

View all
  • Glass Fold

    Glass Fold

    212
  • Neural Noise

    Neural Noise

    717
  • Wave

    Wave

    685
  • LightSpeed

    LightSpeed

    207
  • animated pattern cloud

    animated pattern cloud

    616
  • Background Shader

    Background Shader

    304
  • Shader Background

    Shader Background

    2K
  • Line Shader Homlu UI

    Line Shader Homlu UI

    48