Repository navigation
feat(registry): eight more WebGPU shader backgrounds, from blob to fractal noise - #5192
Open
miguel-heygen wants to merge 6 commits into
Open
miguel-heygen wants to merge 6 commits into
miguel-heygen wants to merge 6 commits into
Conversation
miguel-heygen
force-pushed
the
feat/registry-shaders2
branch
2 times, most recently
from
October 8, 2026 08:19
3ca6c8a to
00fdbf9
Compare
miguel-heygen
force-pushed
the
feat/registry-shaders2
branch
from
October 8, 2026 08:38
00fdbf9 to
b076e0a
Compare
…eat/registry-shaders2
miguel-heygen
force-pushed
the
feat/registry-shaders-30
branch
from
October 8, 2026 15:17
8be63b4 to
38814cc
Compare
…eat/registry-shaders2 # Conflicts: # registry/blocks/aurora/lib/shaders.iife.js # registry/blocks/flowing-gradient/lib/shaders.iife.js # registry/blocks/frost/lib/shaders.iife.js # registry/blocks/godrays/lib/shaders.iife.js # registry/blocks/godrays/source/build.mjs # registry/blocks/liquid-metal/lib/shaders.iife.js # registry/blocks/marble/lib/shaders.iife.js # registry/blocks/mesh-gradient/lib/shaders.iife.js # registry/blocks/nebula/lib/shaders.iife.js # registry/blocks/plasma/lib/shaders.iife.js # registry/blocks/prism/lib/shaders.iife.js # registry/blocks/strands/lib/shaders.iife.js # registry/blocks/stripes/lib/shaders.iife.js # registry/blocks/voronoi/lib/shaders.iife.js # registry/blocks/water/lib/shaders.iife.js
miguel-heygen
marked this pull request as ready for review
October 8, 2026 15:26
somanshreddy
reviewed
Oct 8, 2026
somanshreddy
left a comment
Contributor
There was a problem hiding this comment.
Reviewed at 1b130425, the delta over #5191 (fcd2add8). No blockers.
Checked:
- Bundle: in all eight blocks,
lib/shaders.iife.jsandlib/shaders.THIRD-PARTY-LICENSES.txtare byte-identical to the bundle the existing shader blocks ship on #5191 (sha2566ad60b5f…/ace6fbd1…). - HTML: each block's HTML differs from
godrays.htmlin exactly three places: the composition id in the CSS selector,data-composition-id, anddata-shader. - Shader names: all eight
data-shadernames (Blob, Swirl, LensFlare, Waveform, Goo, Holographic, SineWave, FractalNoise) appear in the bundle. - Registry items: each
registry-item.jsondiffers from Godrays only in name, title, description, tags, file path/target and the preview URL. All eight preview MP4s onstatic.heygen.aireturn 200. - Catalog:
registry/registry.jsondoesn't list them, but it's generated (catalog-generated-paths.mjs), and Godrays is listed while the other #5191 shader blocks aren't either. So that's consistent with a source-only PR.
Tests: registryBlocks.test.ts + validation.test.ts 9/9. Two mutants, both caught by registryBlocks.test.ts:
- renaming Blob's
data-shaderto a name not in the bundle; - appending one byte to Goo's bundle.
Not checked: I didn't re-run the seek-order, render-vs-preview or software-WebGPU frame checks. I'm relying on the body's results for those.
CI: at this head, 6 checks succeeded and 4 were skipped. That's because it's stacked on feat/registry-shaders-30, so the full main matrix runs on #5191, not here.
— Somu
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Eight more 2-second WebGPU background blocks from the MIT Shaders library (
shaders@4.0.0), used with their default settings: Blob, Swirl, Lens Flare, Waveform, Goo, Holographic, Sine Wave and Fractal Noise. They show up in Desktop's Shaders section with no Desktop change.Stacked on #5191, which adds the shared bundle with all thirty new shaders; this merges after it.
How
data-shaderchanged: 1920x1080,data-requires-webgpu, tagswebgpuandwebgpu-shader, licenseApache-2.0 AND MIT.lib/is a byte copy of feat(registry): eight more WebGPU shader backgrounds and a bundle with thirty new shaders #5191's bundle and third-party license file. This PR does not rebuild or edit the bundle.preview.videopoints at the docs CDN; there is no poster. Catalog pages for all thirty come in one docs PR after the four block PRs merge.Verification
hyperframes renderof each block at 24 fps, encoded like the existing six (1280x720, H.264 High). They go to the docs CDN together with the other new blocks' previews.registryBlocks.test.ts(every shader block ships the samelib/and names a shader in the bundle) passes with these eight, three runs in a row. Renaming one block's shader or changing one byte of one block's bundle each fail it.hyperframes check: 0 errors and 0 warnings on each block.node scripts/check-catalog-source-pr.mjsagainst feat(registry): eight more WebGPU shader backgrounds and a bundle with thirty new shaders #5191's branch passes;oxfmt --checkpasses.Limits
Same as #5138: one shader block per page, the shader runs on the film's time, and a host without a GPU renders these only with the software WebGPU opt-in.