Skip to content

Commit 9dbbca7

Browse files
feat(registry): seven more WebGPU shader backgrounds, from ripples to thin film (#5190)
* feat(registry): seven more WebGPU shader backgrounds, from ripples to thin film * fix(registry): describe the three shader orbs as orbs
1 parent e25394d commit 9dbbca7

28 files changed

Lines changed: 4522 additions & 0 deletions
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<style>
6+
[data-composition-id="falling-lines"] canvas[data-shader] {
7+
position: absolute;
8+
inset: 0;
9+
width: 1920px;
10+
height: 1080px;
11+
display: block;
12+
background: #000;
13+
}
14+
</style>
15+
</head>
16+
<body>
17+
<div
18+
data-composition-id="falling-lines"
19+
data-start="0"
20+
data-duration="2"
21+
data-width="1920"
22+
data-height="1080"
23+
data-requires-webgpu
24+
data-no-timeline
25+
style="position: relative; width: 1920px; height: 1080px; overflow: hidden; background: #000"
26+
>
27+
<canvas data-shader="FallingLines" width="1920" height="1080"></canvas>
28+
</div>
29+
<script src="lib/shaders.iife.js"></script>
30+
</body>
31+
</html>

‎registry/blocks/falling-lines/lib/shaders.THIRD-PARTY-LICENSES.txt‎

Lines changed: 314 additions & 0 deletions
Large diffs are not rendered by default.

‎registry/blocks/falling-lines/lib/shaders.iife.js‎

Lines changed: 267 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
3+
"name": "falling-lines",
4+
"type": "hyperframes:block",
5+
"title": "Falling Lines",
6+
"description": "White lines fall down the frame at varied speeds, each fading into a trail. A WebGPU shader from the Shaders library (shaders.com, MIT).",
7+
"tags": ["webgpu", "webgpu-shader", "background", "texture", "lines", "rain", "monochrome"],
8+
"license": "Apache-2.0 AND MIT",
9+
"dimensions": {
10+
"width": 1920,
11+
"height": 1080
12+
},
13+
"duration": 2,
14+
"files": [
15+
{
16+
"path": "falling-lines.html",
17+
"target": "compositions/falling-lines.html",
18+
"type": "hyperframes:composition"
19+
},
20+
{
21+
"path": "lib/shaders.iife.js",
22+
"target": "compositions/lib/shaders.iife.js",
23+
"type": "hyperframes:asset"
24+
},
25+
{
26+
"path": "lib/shaders.THIRD-PARTY-LICENSES.txt",
27+
"target": "compositions/lib/shaders.THIRD-PARTY-LICENSES.txt",
28+
"type": "hyperframes:asset"
29+
}
30+
],
31+
"preview": {
32+
"video": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/falling-lines.mp4"
33+
}
34+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<style>
6+
[data-composition-id="gabor-noise"] canvas[data-shader] {
7+
position: absolute;
8+
inset: 0;
9+
width: 1920px;
10+
height: 1080px;
11+
display: block;
12+
background: #000;
13+
}
14+
</style>
15+
</head>
16+
<body>
17+
<div
18+
data-composition-id="gabor-noise"
19+
data-start="0"
20+
data-duration="2"
21+
data-width="1920"
22+
data-height="1080"
23+
data-requires-webgpu
24+
data-no-timeline
25+
style="position: relative; width: 1920px; height: 1080px; overflow: hidden; background: #000"
26+
>
27+
<canvas data-shader="GaborNoise" width="1920" height="1080"></canvas>
28+
</div>
29+
<script src="lib/shaders.iife.js"></script>
30+
</body>
31+
</html>

‎registry/blocks/gabor-noise/lib/shaders.THIRD-PARTY-LICENSES.txt‎

Lines changed: 314 additions & 0 deletions
Large diffs are not rendered by default.

‎registry/blocks/gabor-noise/lib/shaders.iife.js‎

Lines changed: 267 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
3+
"name": "gabor-noise",
4+
"type": "hyperframes:block",
5+
"title": "Gabor Noise",
6+
"description": "Grey streaky noise drifts across the frame like a moving fingerprint. A WebGPU shader from the Shaders library (shaders.com, MIT).",
7+
"tags": ["webgpu", "webgpu-shader", "background", "texture", "noise", "monochrome"],
8+
"license": "Apache-2.0 AND MIT",
9+
"dimensions": {
10+
"width": 1920,
11+
"height": 1080
12+
},
13+
"duration": 2,
14+
"files": [
15+
{
16+
"path": "gabor-noise.html",
17+
"target": "compositions/gabor-noise.html",
18+
"type": "hyperframes:composition"
19+
},
20+
{
21+
"path": "lib/shaders.iife.js",
22+
"target": "compositions/lib/shaders.iife.js",
23+
"type": "hyperframes:asset"
24+
},
25+
{
26+
"path": "lib/shaders.THIRD-PARTY-LICENSES.txt",
27+
"target": "compositions/lib/shaders.THIRD-PARTY-LICENSES.txt",
28+
"type": "hyperframes:asset"
29+
}
30+
],
31+
"preview": {
32+
"video": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/gabor-noise.mp4"
33+
}
34+
}

0 commit comments

Comments
 (0)