Skip to content

Workshop

Build a Shader-driven Hero

One evening, one fragment shader, one hero section you’ll actually ship.

Level
Intermediate
Estimated time
1 h 35 min
Format
Workshop · 5 lessons
Language
English

About this workshop

A focused workshop: write a pointer-aware gradient shader, wrap it in a React component with proper fallbacks, and tune it for performance and reduced motion.

What you’ll build

A production-ready hero with a WebGL gradient field, a CSS fallback and a reduced-motion still.

What you’ll be able to do

  1. 01Write a fragment shader from scratch
  2. 02Pass pointer and time uniforms from React
  3. 03Pause rendering offscreen
  4. 04Provide fallbacks for no-WebGL and reduced motion

Practical projects

  • Shader hero

    The finished hero, ready to drop into a Next.js site.

Curriculum

1 part · 5 lessons · 1 h 35 min guided, plus your own build time

Before you start

  • React basics
  • No WebGL experience needed

Included

  • Guided build, start to finish
  • Starter and finished code
  • Performance checklist
Portrait of Theo

Your instructor

Theo

Creative engineering

Theo likes figuring out how things work, then showing you. Why an agent loops, how a shader draws a pixel, where a build gets slow. He’s sceptical of hype, fond of the simpler solution, and occasionally sidetracked by a twenty-minute prog-rock song.

“There’s probably a simpler way. Let’s see if this breaks.”

Get the resources used in this project

Optional. The course teaches the method; these Store resources give you a head start when you apply it.

  • Orbit

    AI product website · AI products, SaaS

    $89

Questions

Will this run on phones?

Yes. We cap pixel ratio, pause offscreen and ship a CSS fallback.

Keep learning

  • Course

    Creative Development

    Creative Development with AI

    Motion, WebGL and interaction, with an AI agent as your studio assistant.

    Intermediate8 hwith Theo$129

Build a Shader-driven Hero

$29 · 1 h 35 min

Cart (0)

Your cart is empty.

Courses, workshops and Store resources all check out together.