Skip to content

Live plot rewrite, consistent plot sizing, and copy fixes - #4

Merged
ddyson1 merged 7 commits into
mainfrom
claude/nifty-noether-TWhTu
Jun 5, 2026
Merged

Live plot rewrite, consistent plot sizing, and copy fixes#4
ddyson1 merged 7 commits into
mainfrom
claude/nifty-noether-TWhTu

Conversation

@ddyson1

@ddyson1 ddyson1 commented Jun 5, 2026

Copy link
Copy Markdown
Member

Summary

Iterates on the homepage following local testing.

Live Plot — now actually draws the suit

  • The suit paths contain thousands of M-command subpaths, so the CSS stroke-dashoffset reveal rendered the whole design at once instead of tracing it.
  • Replaced it with progressive canvas stroking: walk the geometry with getPointAtLength, lifting the pen at subpath jumps, so ink only appears where the pen has passed. SVG path is kept for geometry only; the pen reticle stays on top.
  • Handles Restart / Skip / Replay / suit-switch and window resize.

Plot sizing — consistent across editions

  • Crop each suit's viewBox to its bounding box (getBBox) + padding so every edition fills its card and the live-plot stage at a consistent scale, instead of being letterboxed in the mostly-empty original canvas.
  • Fix the paper bed to a single 4:3 shape so the canvas is consistent across designs.

Copy

  • Remove "art house" everywhere → "studio" (hero, contact, README, design doc); drop "ART HOUSE" from copyright lines → "PLOTFLOW*".

No changes to the Acquire/checkout buttons or any cart/payment logic.

https://claude.ai/code/session_01VhWRYXbuqapZ9YkvksroaS


Generated by Claude Code

claude and others added 7 commits June 5, 2026 19:08
Lead with what PlotFlow is (pen-plotter art house, one-continuous-line
mobile suit editions) and the process, while keeping the local-run,
deploy, and structure notes.

https://claude.ai/code/session_01VhWRYXbuqapZ9YkvksroaS
Compute each suit's bounding box at runtime (getBBox) and crop the
viewBox to a padded version, so every edition fills its card and the
live-plot stage at a consistent scale instead of being letterboxed in
the original canvas. Fix the paper bed to a single 4:3 shape so the
canvas is consistent across designs, and reset the animation clock on
load so the live plot always starts from a blank sheet.

https://claude.ai/code/session_01VhWRYXbuqapZ9YkvksroaS
Hide the path before swapping suit data so the old dash values don't
flash the full path for a frame. Rename "PLOTFLOW ART HOUSE" to
"PLOTFLOW" in all footer copyright lines.

https://claude.ai/code/session_01VhWRYXbuqapZ9YkvksroaS
The animated hero path used vector-effect:non-scaling-stroke, which
measures stroke-dasharray in screen pixels while getTotalLength returns
user units. The mismatch made the full path render as one solid dash
(visible immediately) with the trace drawing over it. Drop
non-scaling-stroke from the animated path and set its width in user
units per-load so it stays ~1.2px. Static shop-card paths are unchanged.

https://claude.ai/code/session_01VhWRYXbuqapZ9YkvksroaS
Replace "art house" with "studio" in the hero sub, contact page, README,
and design system doc; drop "ART HOUSE" from the README copyright line.

https://claude.ai/code/session_01VhWRYXbuqapZ9YkvksroaS
The suit paths contain thousands of M-command subpaths, which the CSS
stroke-dashoffset reveal renders all at once — so the whole design
appeared instantly instead of being traced. Replace the dash technique
with progressive canvas stroking: walk the geometry with
getPointAtLength, lifting the pen at subpath jumps, so ink only appears
where the pen has passed. The SVG path is kept for geometry only
(stroke:none) and the pen reticle stays on top.

https://claude.ai/code/session_01VhWRYXbuqapZ9YkvksroaS
@ddyson1
ddyson1 merged commit 141f1d5 into main Jun 5, 2026
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