Skip to content

impr: Unreadable examples - #3311

Merged
aleksanderkatan merged 5 commits into
releasefrom
impr/unreadable-examples
Nov 3, 2026
Merged

aleksanderkatan merged 5 commits into
releasefrom
impr/unreadable-examples

Conversation

@aleksanderkatan

@aleksanderkatan aleksanderkatan commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Before:

image image image image

After:

image image image image

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

pkg.pr.new

No packages changed since release

@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Resolution Time Benchmark

---
config:
  themeVariables:
    xyChart:
      plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
  title "Random Branching (🔴 PR | 🔵 main | 🟢 release)"
  x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
  y-axis "time (ms)"
  line [1.02, 2.00, 4.27, 7.15, 8.63, 13.23, 27.97, 28.91]
  line [1.02, 2.06, 5.09, 7.31, 9.15, 14.53, 27.76, 26.33]
  line [1.08, 2.30, 4.88, 7.03, 9.46, 14.58, 28.05, 26.04]
Loading
---
config:
  themeVariables:
    xyChart:
      plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
  title "Linear Recursion (🔴 PR | 🔵 main | 🟢 release)"
  x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
  y-axis "time (ms)"
  line [0.36, 0.55, 0.75, 0.86, 1.12, 1.25, 1.48, 1.63]
  line [0.28, 0.54, 0.73, 0.89, 1.18, 1.29, 1.52, 1.71]
  line [0.37, 0.61, 0.76, 0.96, 1.20, 1.36, 1.64, 1.76]
Loading
---
config:
  themeVariables:
    xyChart:
      plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
  title "Full Tree (🔴 PR | 🔵 main | 🟢 release)"
  x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
  y-axis "time (ms)"
  line [1.03, 2.61, 4.59, 7.78, 14.69, 29.40, 59.67, 119.52]
  line [1.04, 2.62, 4.50, 7.73, 14.60, 28.13, 61.50, 124.35]
  line [0.99, 2.28, 4.23, 7.83, 14.42, 28.32, 61.71, 123.48]
Loading

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

Bundle size comparison (import * as ... in PR vs import * as ... in target):

🟢 Decreased ➖ Unchanged 🔴 Increased ❔ Unknown
0 355 0 0

No notable changes.

If you wish to run a comparison for other, slower bundlers, run the 'Tree-shake test' from the GitHub Actions menu.

@aleksanderkatan
aleksanderkatan marked this pull request as ready for review November 3, 2026 09:50

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

( ◦°^°◦)

Ahoy! I charted all five files o' this here readability PR and found nary a leak.

Reviewed changes

  • Matrix multiplication — adds color: #000000 to .example-matrix so the matrix text reads against its #ebebf8 panel.
  • Matrix next — introduces a .example-root flex wrapper (position: absolute; inset: 0, white bg, black text) and relayouts .timing-content / .matrices; the timing line separator in index.ts changes from | to <br>.
  • MNIST inference — .loading.loaded ~ .example switches from display: contents to a full-size white flex box.
  • Fluid with atomics — adds premultiplied-alpha blending and a white clearValue to the render pipeline so the dark water renders on a light background.

The fluid-with-atomics blend (one / one-minus-src-alpha for both color and alpha) is correct for the premultiplied shader output (vec4f(0, 0, water, water)), and omitting format in targets matches the existing triangle-targets precedent. I ran the four affected docs snapshot tests locally — all pass, and the shader snapshots are unaffected since only pipeline targets, CSS, and host-side HTML changed.

Pullfrog  | View workflow run | Using deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

@aleksanderkatan
aleksanderkatan merged commit 22424b3 into release Nov 3, 2026
8 checks passed
@aleksanderkatan
aleksanderkatan deleted the impr/unreadable-examples branch November 3, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants