Call usFree score
Cyber Monday: 30% off every Bailey Field Kit with code CYBERMONDAY, through Tuesday, December 1, 11:59 PM Eastern. See the kits →

Download · one developer · v1.0.0

Shader Hero Pack

Eight hand-written WebGL backgrounds from our own site builds, made generic for yours: engraved line work, a sea chart, a field at golden hour, a street at blue hour, a sea at first light, amber with gold leaf, parchment and ink, and an old picture tube. Each one reacts to scroll and pointer and takes your three colours.

$68.60 $98

30% off with code CYBERMONDAY until Tuesday, December 1, 11:59 PM Eastern

Opens soon
Shader Hero Pack cover

Who it's for

  • Designers and developers who want a hero that does not look like a template.
  • Webflow, Framer, Squarespace and WordPress builders who can paste custom code.
  • React and Next.js developers who want a background without pulling in a 3D library.

Getting started

  1. 1.Buy and download the zip.
  2. 2.Open demo/index.html and pick a shader and colours.
  3. 3.Copy hero.js and the .frag file to your site and mount it with three lines (examples in the README).

What's in the download

Eight shaders
guilloche, sea-chart, golden-field, blue-hour-street, first-light-sea, gold-vat, parchment-ink and picture-tube, all GLSL ES 1.0 sharing one set of uniforms.
One runner
hero.js mounts any shader on a canvas: plain WebGL1, no libraries, pauses off screen and in hidden tabs, and steps down by itself when frames run slow.
Your colours
Shadow, mid and light colours plus tint, speed and intensity, changeable live from JavaScript.
Phones and reduced motion
Smaller buffer and capped pixel ratio on phones; visitors who prefer reduced motion get one still frame.
Demo page
Open demo/index.html straight from the folder to try all eight with live controls before you wire one in.
Install notes
Snippets for plain HTML, React/Next.js and site builders' custom-code blocks.

Requirements

  • Any modern browser with WebGL. No build step and no server needed for the demo.

Licence

One developer, unlimited own and client websites and apps. A site you build may ship the files it uses. No resale or redistribution as shaders, templates or a shader pack. Full licence, refunds and terms.

Questions

Will it slow my page down?

The runner renders at a reduced scale, caps pixel ratio on phones, pauses when the canvas is off screen and drops quality if a frame takes too long. Test on the phones your visitors use; the README covers the settings.

What happens if WebGL is off?

The canvas gets a class you can style with a plain gradient, and an onFail callback runs, so visitors never see a broken box.

Is this a subscription?

No. One payment, the files are yours, and updates to version 1.x are free.

Refunds?

Within 14 days of purchase, on request, no questions asked. Your licence ends with the refund.