Skip to content

Commit aa101c4

Browse files
committed
Print emulation: WebGL2 ink bleed post-processing filter
Integrate the ink-bleed sketch as a rendering option. InkBleedRenderer class wraps a WebGL2 pipeline that post-processes the score canvas: separable Gaussian blur + composite shader with domain-warped ink bleed, FBM edge roughness, letterpress pooling, paper fiber grain, micro-spatter, and warm paper color. Toggled via 'Print' button in toolbar. Lazy-initialized on first toggle. Default preset: subtle vintage printed score look. Based on ~/explorations/random-sketches/vibes/ink-bleed.
1 parent c2936ca commit aa101c4

File tree

4 files changed

+520
-2
lines changed

4 files changed

+520
-2
lines changed

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@
330330
oninput="applyZoom(parseFloat(this.value))"
331331
style="width: 80px;" />
332332
<span id="zoom_label" style="font-size: 11px; min-width: 36px; text-align: center; color: var(--text-dim);">100%</span>
333+
<button id="ink_bleed_toggle" title="Print emulation: ink bleed, paper grain, letterpress effect">Print</button>
333334
</div>
334335

335336
<!-- Spacing tuning (popover) -->

0 commit comments

Comments
 (0)