Add SVG visualizations to 11 challenge descriptions#209
Merged
kunal-mansukhani merged 3 commits intomainfrom Mar 7, 2026
Merged
Add SVG visualizations to 11 challenge descriptions#209kunal-mansukhani merged 3 commits intomainfrom
kunal-mansukhani merged 3 commits intomainfrom
Conversation
Add inline SVG diagrams to challenge.html files where visual explanation significantly aids understanding. Each uses a consistent dark theme matching the existing GPT-2 block visualization. Challenges updated: - 1D Convolution: kernel sliding over input with dot product - 2D Convolution: kernel overlay on grid with computation breakdown - 2D Max Pooling: color-coded pool regions with max extraction - Matrix Transpose: color-coded row→column movement with arrows - Prefix Sum: accumulation arrows showing growing dependency - Reduction: binary tree reduction from 8 values to final sum - Causal Attention: triangular attend/masked grid with checkmarks - Sliding Window Attention: banded attention pattern (window=2) - BFS Shortest Path: grid with obstacles and numbered path - Jacobi Stencil 2D: 5-point stencil with neighbor arrows - Interleave: two arrays merging into alternating output Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <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.
Summary
#222background,#ccctext, blue/green accent colors) matching the existing GPT-2 block visualizationChallenges updated
Test plan
🤖 Generated with Claude Code