Repository navigation
feat(jpeg): the JPEG lab's engine lab and stages 1–4 - #39
Merged
Merged
Conversation
…nt the rule's types
…ec's texture, upload and delivery details
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.
Slice 2 of the JPEG compression lab: the engine lab and stages 1–4 at
#/jpeg. The lab isn't linked from the nav or home page yet; that comes in slice 4.docs/superpowers/specs/2026-10-15-jpeg-lab-design.md(see the Plan 2 amendment)docs/superpowers/plans/2026-10-16-jpeg-lab-2-stages.mdWhat's in it
Engine
update_rule_config_with_image(pixels as a typed array),rule_inspect,rule_bytes. They don't change any other lab.jpegruleselect_blockis the only action.Visualization
TextureQuadrenderer, andJpegViz, which draws whatever panels the page lays out (with optional zoom crops).Page
img,q,s,h,stage,b.Tests
cargo test --all-features: jpeg 85, viz-core 293.wasm-pack test --chrome --headless: 46.