Repository navigation
feat(registry): seven more WebGPU shader backgrounds, from sun burst to color wheel - #5341
Merged
Merged
Conversation
miguel-heygen
marked this pull request as ready for review
October 9, 2026 16:35
jrusso1020
approved these changes
Oct 9, 2026
jrusso1020
left a comment
Collaborator
There was a problem hiding this comment.
Approve at ee59c3b0. All seven blocks follow the #5191/#5192 template exactly, the bundle and licence are byte copies, and required CI is green.
Checked
- Scope: the diff is 28 added files, all inside the seven block folders. The bundle, its build script and the tests are untouched.
- HTML: each file differs from
godrays.htmlin exactly three lines: the composition id in the CSS and on the div, anddata-shader.data-requires-webgpuis kept. registry-item.json: it matches aurora's apart from title, description and tags. It has the same file targets and licence field, and the same preview-video-only shape with no poster. Every block is taggedwebgpuandwebgpu-shader.- Names: there are no collisions with existing blocks, components, examples or
registry.jsonentries on current main..gitignore'schrome/line does ignoreregistry/blocks/chrome/, sochrome-orbis the right call. - Bundle and licence:
- All seven
lib/copies are byte-identical to the shared copies (matching sha256), and they carry the shaders 4.0.0 MIT notice. - Each
data-shadernames a shader in the bundle and in the build script's list.
- All seven
- Previews: all seven preview URLs return 200
video/mp4. - Render cost: the shader graphs are unrolled into fixed-length shaders, so there are no unbounded loops and no oversized targets.
- Measured at 1920x1080 in headless Chrome with software WebGPU, these come in at about 30-300 ms per frame. That range sits inside the range of the merged blocks: godrays is about 58 ms and nebula about 2100 ms.
- Plastic and Heatmap are the heaviest here, at about 300 ms.
Notes
- None of the new blocks are in
registry/registry.jsonyet, sohyperframes add sun-burstreports "not found in registry" (packages/cli/src/registry/resolver.ts:132). The merged #5191/#5192 blocks have the same gap, and the first six became installable only through a later catalog PR. That doesn't block this PR, but a catalog follow-up is needed before these are installable. hologramhere andholographicfrom #5192 are different shaders with near-identical names, both orbs on black. That's a findability point only.- Heatmap's description says "Thermal colours", but the default render is magenta, purple and blue rather than a red-to-yellow heat palette.
Tests: registryBlocks.test.ts passes 5/5, and oxfmt --check passes on the 14 changed files. CI: 38 checks pass and the rest are skipped by path filters; nothing failed or is pending.
— Rames
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
Seven more 2-second WebGPU background blocks from the MIT Shaders library (
shaders@4.0.0), used with their default settings: Sun Burst, Spiral, Plastic, Chrome Orb, Hologram, Heatmap and Color Wheel. Same shape as #5191's blocks: taggedwebgpuandwebgpu-shader,data-requires-webgpu, preview video, no poster.How
godrays.htmlwith its composition id anddata-shaderchanged, and aregistry-item.jsonwith its own name, title, description, tags and preview.lib/holds byte copies of the shared bundle and its licence file from feat(registry): eight more WebGPU shader backgrounds and a bundle with thirty new shaders #5191; this PR does not change the bundle.Chromeshader's block ischrome-orb:.gitignoreignores every folder namedchrome/(Chrome for Testing downloads), so a block folder by that name could never be committed.Verification
hyperframes checkpasses on each block.hyperframes renderof each block on a GPU at 24 fps, encoded likescripts/generate-catalog-previews.ts(1280 wide, H.264 CRF 28), uploaded to the docs CDN under new names; each URL serves the uploaded bytes.data-shadernames a shader in it, and every block installs the licence file (the checksregistryBlocks.test.tsruns in CI).oxfmt --checkpasses. The PR changes only the seven block folders.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. Plastic moves slowly with its default settings: its surface ripples, but it reads close to a still orb.
Frames from the uploaded previews at 0.25, 1.0 and 1.75 s: