mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-17 15:24:19 +00:00
feat(registry): seed transition blocks — 14 shader + 14 CSS showcase (#270)
## What Add 28 transition blocks from the Hyperframe Template Structure catalog, bringing the registry to 53 total items. ### Shader transitions (14 blocks, WebGL, 4s each) `domain-warp-dissolve`, `ridged-burn`, `whip-pan`, `sdf-iris`, `ripple-waves`, `gravitational-lens`, `cinematic-zoom`, `chromatic-radial-split`, `glitch`, `swirl-vortex`, `thermal-distortion`, `flash-through-white`, `cross-warp-morph`, `light-leak` ### CSS transition showcases (14 blocks, various durations) `transitions-3d`, `transitions-blur`, `transitions-cover`, `transitions-destruction`, `transitions-dissolve`, `transitions-distortion`, `transitions-grid`, `transitions-light`, `transitions-mechanical`, `transitions-other`, `transitions-push`, `transitions-radial`, `transitions-scale`, `transitions-shader` ## Why Phase D content accumulation. Transitions are the most-requested category for the catalog. ## How - Shader transitions extracted from `shader-showcase.zip`, each a standalone HTML with WebGL shaders - CSS transitions extracted from `showcase-bundle.zip`, each a standalone showcase page - All tagged with `transition` + `shader` or `showcase` for catalog grouping - Preview thumbnails generated for all 28 blocks - Catalog pages + index regenerated ## Test plan - [x] All 28 blocks produce preview thumbnails - [x] `registry-item.json` validates for all blocks - [x] Catalog pages generated (45 total items in catalog-index.json) - [x] `oxfmt --check` passes
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@keyframes grain-noise {
|
||||
@keyframes hf-grain-noise {
|
||||
0%,
|
||||
100% {
|
||||
transform: translate(0, 0);
|
||||
@@ -116,7 +116,7 @@
|
||||
height: 200%;
|
||||
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
|
||||
opacity: 0.15;
|
||||
animation: grain-noise 0.5s steps(1) infinite;
|
||||
animation: hf-grain-noise 0.5s steps(1) infinite;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
</div>
|
||||
|
||||
<style>
|
||||
@keyframes grain-noise {
|
||||
@keyframes hf-grain-noise {
|
||||
0%,
|
||||
100% {
|
||||
transform: translate(0, 0);
|
||||
@@ -70,6 +70,6 @@
|
||||
height: 200%;
|
||||
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
|
||||
opacity: 0.15;
|
||||
animation: grain-noise 0.5s steps(1) infinite;
|
||||
animation: hf-grain-noise 0.5s steps(1) infinite;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
Timeline integration example:
|
||||
|
||||
// Cover screen with grid (transition out of scene A)
|
||||
tl.to(".grid-cell", {
|
||||
tl.to("#grid-pixelate-overlay .grid-cell", {
|
||||
scale: 1,
|
||||
duration: 0.6,
|
||||
stagger: { amount: 0.6, from: "center" },
|
||||
@@ -71,7 +71,7 @@
|
||||
tl.set("#scene-b", { opacity: 1 }, 3.6);
|
||||
|
||||
// Reveal scene B by removing grid
|
||||
tl.to(".grid-cell", {
|
||||
tl.to("#grid-pixelate-overlay .grid-cell", {
|
||||
scale: 0,
|
||||
duration: 0.6,
|
||||
stagger: { amount: 0.6, from: "edges" },
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
<!--
|
||||
Shimmer Sweep — animated light pass across text or elements.
|
||||
|
||||
Usage: wrap your text element with class="shimmer-sweep-target" and
|
||||
Usage: place this snippet AFTER your .shimmer-sweep-target elements.
|
||||
Wrap your text element with class="shimmer-sweep-target" and
|
||||
paste this snippet into your composition. The GSAP timeline drives
|
||||
the sweep position for deterministic frame-by-frame rendering.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user