Add Image Generation & Diffusion track - #1
Open
YashJayswal24 wants to merge 2 commits into
Open
Conversation
Three chapters, ten pages, nine live simulators, placed before the specdec
track because DFlash already assumed the reader knew what diffusion was.
Ch1 the task, GANs and why they broke; ch2 the forward process, noise
prediction and the one-step blur; ch3 latent diffusion, conditioning and
guidance.
New rendering path: lib/PixelCanvas.tsx, the repo's first canvas renderer —
576 React <rect>s per frame across several panels spends the whole frame
budget in reconciliation. Plus lib/{diffusionMath,sprites,spectrum,pca,
tinynn}.ts, all pure and runnable under node --experimental-strip-types.
Every numeric claim in the prose was measured by running those modules
before the caption was written, which overturned several planned narratives:
the step-count sweep converges at T=4 rather than climbing to 1000; a
stronger GAN discriminator tightens outcomes rather than causing collapse;
reverse KL does not mode-seek from an arbitrary start. Two controls that
turned out to do nothing (a kernel-width knob, a dead Run button) were
removed rather than shipped. MILESTONES.md records what was measured.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
… base The specdec ch03 restructure removed mean-field-trap.mdx and folded it into dspark.mdx, so the two diffusion pages that cite it now point at dspark/#the-trap-a-product-of-marginals instead. Also fixes the redirect added for the old URL: Astro emits the target verbatim into the meta-refresh, so an absolute path without the /stable-learning base resolves to the domain root and 404s on Pages — the same trap as c005587. Caught by the whole-site link check, which now passes 3660/3660 including the redirect. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Adds an Image Generation & Diffusion track: 3 chapters, 10 pages, 9 live simulators. Placed before the specdec track, because
specdec/03-parallel-draftingalready leaned on diffusion for DFlash and assumed the reader knew what it was.ManifoldSlice,GANDuel,ModeCoverageMixingReversibility,ForwardNoise,ThreeTargets,StepBudgetLatentCompress,GuidanceDialNew rendering path
lib/PixelCanvas.tsxis the repo's first canvas renderer. The site was 100% SVG/Plotly, which cannot carry a 24×24 frame (576 cells) across several panels at frame rate — that spends the whole budget in reconciliation. It renders grayscale in both themes on purpose: theme-inverting an image makes one sprite read as two different images, so only the frame is theme-aware.Also
lib/{diffusionMath,sprites,spectrum,pca,tinynn}.ts— all pure, no React imports, so they run directly undernode --experimental-strip-types.Every numeric claim was measured before the caption was written
That is the reason for the extra
lib/modules, and it repeatedly overturned the plan:Two controls that turned out to do nothing — a kernel-width knob and a dead Run button — were removed rather than shipped, with code comments explaining why so they aren't re-added.
MILESTONES.mdrecords all of it.Second commit: two fixes
mean-field-trap.mdx, so the two diffusion pages citing it now point atdspark/#the-trap-a-product-of-marginals(anchor verified in the built HTML)./specdec/03-parallel-drafting/dspark/without the/stable-learningbase resolves to the domain root — the same trap as c005587. One-line fix; happy to drop it into its own PR if you'd rather.Verification
npm run buildclean, 58 pages🤖 Generated with Claude Code
https://claude.ai/code/session_01TCNCrkx7GQ85MV1A6b6bgU