Skip to content

feat(registry): colorama-wipe - #4277

Merged
miguel-heygen merged 7 commits into
mainfrom
registry/colorama-wipe
Sep 22, 2026
Merged

miguel-heygen merged 7 commits into
mainfrom
registry/colorama-wipe

Conversation

@miguel-heygen

Copy link
Copy Markdown
Collaborator

What\n\ncolorama-wipe — a hyperframes:component. A headline reveals through a feathered, leaning wipe front that is blurred and colour-mapped as it passes, then settles to clean type and wipes off again. It is the After Effects "shiny wipe" (masked text + Compound Blur + Colorama over a moving gradient, crisp duplicate on top) as a deterministic canvas effect on any text element.\n\njs\nattachColoramaWipe("#headline", tl, { at: 0.3, in: 0.75, hold: 2.0, out: 0.55 });\nwindow.__timelines["my-comp"] = tl;\n\n\nOne call per element adds a single linear clock tween to the host timeline. The component measures the element, hides it (visibility, layout untouched) and paints on two canvases over its box for [at, at + in + hold + out]. Options: colour cycle, feather, tilt, blur, trail, noise, crisp overlay, render scale. All sizes derive from the element's font size, so it works at any type size and aspect ratio.\n\nDeterministic: hash noise keyed by frame, no Math.random, no clocks; a seek anywhere outside the window paints an empty stage.\n\n## Preview\n\nReference build (three headlines, 10 s, 1920×1080, finish-pass grade on top): https://hyperframes.dev/p/fabab042-1661-4a63-9143-3a6bf2034a76 — published from the demo project. Preview MP4 attached in a comment below; catalog PNG/MP4 to be uploaded by a maintainer.\n\n## Checks\n\n- hyperframes check on the reference build: 0 lint errors, runtime / layout / motion clean\n- npx oxfmt --check registry/components/colorama-wipe/*.html passes\n- registry/registry.json, docs/docs.json, docs/public/catalog-index.json regenerated with the two generator scripts (not hand-edited). The regeneration also picks up drift already on main (example items, docs nav groups); happy to split that into its own commit if preferred.\n\n## Notes for reviewers\n\n- The source text is hidden with visibility: hidden rather than color: transparent on purpose: the layout audit flags transparent text as unpainted.\n- The effect canvas' alpha follows raw glyph coverage, not the noised intensity, so no-ink pixels stay transparent over any background.\n- Two canvases (half-res effect + full-res crisp copy); cost is a per-pixel loop over the padded element box per frame — fine for headlines, heavy for paragraph-sized targets.\n\n🤖 Generated with Claude Code\n\n\n\nSupersedes #4273 by the same author\nThe check-docs-catalog week-in-merges sidebar failure is pre-existing on main.\n

jakemoran2011 and others added 4 commits September 22, 2026 02:28
…eal for headlines

A hyperframes:component recreating the After Effects "shiny wipe": masked text +
Compound Blur + Colorama over a moving gradient, with a crisp duplicate fading on top.
One call per text element:

  attachColoramaWipe("#headline", tl, { at, in, hold, out, cycle, feather, tilt, blur })

adds a single linear clock tween to the host timeline and paints the effect on two
canvases over the element's box; the element is hidden (visibility) with its layout
kept. All sizes scale from the element's font size. Deterministic: hash noise keyed by
frame, no Math.random, no clocks; seeks outside the window paint an empty stage.

registry/registry.json, docs/docs.json and docs/public/catalog-index.json were
regenerated with the two generator scripts as the contributing guide asks; they also
pick up drift already present on main.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
hyperframes 🟢 Ready View Preview Sep 22, 2026, 7:38 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@miguel-heygen
miguel-heygen merged commit 01734fa into main Sep 22, 2026
55 checks passed
@miguel-heygen
miguel-heygen deleted the registry/colorama-wipe branch September 22, 2026 07:55
ksong151 pushed a commit to ksong151/hyperframes that referenced this pull request Sep 23, 2026
heygen-com#4264 added the week-in-merges block and its registry.json entry. heygen-com#4277
regenerated registry.json from a branch that predated heygen-com#4264, which removed
the entry again. The block directory, catalog page and docs nav link all
remained, so the catalog advertises a block that `hyperframes add
week-in-merges` rejects with "Item not found in registry".

This branch was successfully deployed

1 active deployment
staging - docs — 5dda139b Deployed Sep 22, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants