interactives/src
Claude 52615a5086
kasuti: download custom motif as PNG
Adds a "PNG" button beside "JSON" in the pattern editor footer. It
rasterises the normalised motif (solid black strokes on a white
background, line width scaled to the cell size, ~800 px on the
longer axis) to a canvas, pulls a PNG blob via toBlob, and triggers
a download with the same safe-name slug as the JSON export.

The existing "Download" button is relabelled "JSON" so the two
outputs are distinguishable.

https://claude.ai/code/session_01KNdXjQczMCRGMK7K3Qderw
2026-04-22 12:19:57 +00:00
..
components kasuti: download custom motif as PNG 2026-04-22 12:19:57 +00:00
content Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
data kasuti: new interactive — alternating Eulerian tour on a grid 2026-04-21 18:33:32 +00:00
hooks Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
layouts social: replace Hatch template og-image + wire per-interactive images 2026-04-22 10:48:00 +00:00
lib kasuti: new interactive — alternating Eulerian tour on a grid 2026-04-21 18:33:32 +00:00
pages Switch to standalone Netlify Function for admin API 2026-04-17 03:44:01 +05:30
styles Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
types Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
utils Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
consts.ts Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
content.config.ts Initial commit: Interactives site 2026-04-17 03:09:40 +05:30