Skip to content

Commit b6c98a2

Browse files
committed
init
0 parents  commit b6c98a2

21 files changed

Lines changed: 1118 additions & 0 deletions

.DS_Store

6 KB
Binary file not shown.

README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# PLOTFLOW · design system + homepage
2+
3+
Avant-garde pen-plotter art house. Muted ground, bold white grotesque, Japanese, halftone + asterisk, with an interactive **Live Plot** hero that draws each mobile-suit plot as one continuous line.
4+
5+
## Quick start
6+
7+
No build step or dependencies — it's static HTML/CSS/JS with the data inlined in a script.
8+
9+
```bash
10+
# just open it…
11+
open index.html # works from file://
12+
13+
# …or serve it (recommended)
14+
python3 -m http.server 8000 # then visit http://localhost:8000
15+
```
16+
17+
`preview.html` is a single-file, fully-inlined version of the same page (handy for a quick look or to drop into a CMS).
18+
19+
## Structure
20+
21+
```
22+
plotflow-design-system/
23+
├─ index.html # the homepage (links the css + scripts below)
24+
├─ preview.html # single-file build of the same page
25+
├─ tokens.json # machine-readable design tokens
26+
├─ styles/
27+
│ ├─ tokens.css # ← colors, fonts, spacing. EDIT BRAND HERE.
28+
│ └─ styles.css # base + all component styles
29+
├─ scripts/
30+
│ ├─ plotter.js # Live Plot component (window.PlotflowPlotter)
31+
│ └─ shop.js # builds the editions grid
32+
├─ data/
33+
│ └─ editions.js # window.PLOTFLOW = { suits, orders } (AUTO-GENERATED)
34+
├─ assets/plots/ # the 8 recolorable plot SVGs (source art)
35+
├─ tools/
36+
│ ├─ prep_plots.py # normalize raw plotter.vision exports → assets/plots
37+
│ └─ build_data.py # regenerate data/editions.js from assets/plots
38+
└─ docs/
39+
└─ DESIGN_SYSTEM.md # tokens, components, rules — start here
40+
```
41+
42+
## Common edits
43+
44+
**Change the palette / type** → edit `styles/tokens.css` (and mirror in `tokens.json`). Everything reads those variables.
45+
46+
**Add or change an edition**
47+
1. Drop the new clean SVG in `assets/plots/` (run `python tools/prep_plots.py raw/` if it's a fresh plotter.vision export).
48+
2. Add a row to `META` (and the order arrays) in `tools/build_data.py`.
49+
3. `python tools/build_data.py` → regenerates `data/editions.js`. Done; the shop + plotter pick it up.
50+
51+
**Plot legibility** — keep the cardinal rule: show plots large with a thin stroke; don't scale a plot up to fill a small card (it fuses the lines). Stroke widths are set in CSS (`.hero #ppath`, `.card .cover .art path`).
52+
53+
See `docs/DESIGN_SYSTEM.md` for the full spec and `CLAUDE.md` for working in this repo with Claude Code.

assets/.DS_Store

6 KB
Binary file not shown.

assets/plots/big-zam.svg

Lines changed: 2 additions & 0 deletions
Loading

assets/plots/dom.svg

Lines changed: 2 additions & 0 deletions
Loading

assets/plots/gm.svg

Lines changed: 2 additions & 0 deletions
Loading

assets/plots/gp-02.svg

Lines changed: 2 additions & 0 deletions
Loading

assets/plots/guncannon.svg

Lines changed: 2 additions & 0 deletions
Loading

assets/plots/guntank.svg

Lines changed: 2 additions & 0 deletions
Loading

assets/plots/zaku-ii.svg

Lines changed: 2 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)