satisfy.md

A page's first screen: a headline, one line and one button on a moving WebGL gradient that is drawn round the headline, so where color passes behind a letter the letter answers it.

It comes with a SATISFY.md, a file that says why it feels good, so changes keep the feel.

SATISFY.md
---
version: 1
component: gradient-hero
title: "Gradient Hero"
scope: component
status: draft
sources:
  - ../../create-gradient-hero.ts
  - ../../gradient-hero/engine.ts
  - ../../gradient-hero/looks.ts
  - https://github.com/davideast/satisfy.md/blob/main/registry/satisfy/gradient-hero/hands.ts
  - https://github.com/davideast/satisfy.md/blob/main/registry/satisfy/gradient-hero/sound.ts
---

# Gradient Hero

## Intent

The first screen of a small web page: a large headline, centered on its own, set on a moving gradient that is drawn round the headline rather than behind it. The page's text stays real text, for reading, selecting and screen readers, and the shader draws the headline into the picture as well, so the gradient and the words read as one piece. Where color passes behind a letter, the letter answers it.

It is read first and played second. The gradient moves slowly on its own and the headline always wins; a hand that reaches for it finds one gesture that belongs to the picture, and a sound that answers it. Time is a plain number the picture is drawn from, so any moment can be drawn directly and the drift never loops.

Each hero is its own small page, with its own gradient piece and its own way the gradient meets the type. This draft is a proposal, not the maintainer's approval. Its scope is the component; the page around it has its own.

50 of 73