Commit cc479b3
committed
Add Chromacode Lab — text-to-color p5.js visualization
Each word in the uploaded text becomes a colored block on thin horizontal
bands; block width encodes word length, color encodes the word itself (same
word always gets same color via char-code hash). Five curated palettes:
Risograph, Signal, Botanical, Archive, and Mono. Controls for px-per-char
scale, bar height, guide lines, and paragraph-break spacing. Exports PNG
via p5.js saveCanvas. Nav updated across all pages.
https://claude.ai/code/session_01P79Q1zXKm29o3kqd2rmHMD1 parent 588b382 commit cc479b3
12 files changed
Lines changed: 527 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
0 commit comments