[art-prep] ArtBoard: Build prompts, stand-ins and the art board from the manifest, and accept pictures into art/final
tools/art-prep reads art/STYLE.md (draft) and art/manifest.json (25 Phase 1 pictures), refuses forbidden words in any prompt, writes 29 stand-ins and the board files, and cuts and encodes accepted pictures as WebP within budget.
This commit is contained in:
+192
@@ -0,0 +1,192 @@
|
||||
# STYLE.md — Rosea Domi art style
|
||||
|
||||
The style system prompt for every picture in Rosea Domi. The pipeline that uses it is
|
||||
[`docs/ART.md`](../docs/ART.md). Every prompt on the art board starts with **§1** word for
|
||||
word, then adds the picture's own part, generated from [`manifest.json`](manifest.json).
|
||||
A picture that is off-style goes back for another try. It is never shipped.
|
||||
|
||||
> **Draft, 2026-11-01 — waiting for Mark.** Claude wrote this draft from CLAUDE.md §1 and
|
||||
> GAMEPLAY.md. The roadmap says STYLE.md is drafted *with Mark*. The open choices are listed in
|
||||
> §0. The first picture on the board, the rose's character sheet, is the test. If it looks
|
||||
> wrong, this file changes before anything else is made.
|
||||
|
||||
---
|
||||
|
||||
## 0. Open choices for Mark
|
||||
|
||||
| # | Choice | The draft says | Why |
|
||||
|:--|:--|:--|:--|
|
||||
| S1 | The medium | Matte gouache on warm paper, with soft brush outlines | It is gentle and hand-made like the rest of Domi. It is also clearly not the book's look, which is a thin pen line with loose, pale watercolour. |
|
||||
| S2 | Where the rose lives | A small garden bed on a hillside meadow, with a low dry-stone wall and a wide sky to the west | The sunset is real, so the scene needs a real horizon. It is an ordinary garden, never a tiny planet. |
|
||||
| S3 | The rose's face | A face in the middle of the bloom: two small eyes, often half-closed, a tiny mouth and a blush | This is the description in CLAUDE.md §1, drawn as written. |
|
||||
| S4 | The palette | §2 | It starts from the app's tokens (`--rose #b4485e`, `--paper #fbf6f1`). |
|
||||
| S5 | The sky | Drawn in code, never painted | The sun moves at the player's real time, and the stars are the real constellations. A painted sky could do neither. |
|
||||
|
||||
---
|
||||
|
||||
## 1. The system prompt (paste word for word)
|
||||
|
||||
> Soft, hand-made 2D storybook illustration painted in matte gouache with a gentle dry-brush
|
||||
> texture on warm off-white paper. Simple rounded shapes built from flat, soft colour areas with
|
||||
> two or three gentle tonal steps; no wet watercolour blooms, no thin scratchy pen line. Outlines
|
||||
> are soft, slightly irregular brush lines in deep plum-brown, never pure black, never a hard
|
||||
> vector line. Light is low and warm, as late in the day, coming from the left. The mood is
|
||||
> quiet, tender and hopeful, with generous calm space that never feels empty or bleak.
|
||||
> Characters are cute but alive, with small gentle eyes, often half-closed, and tiny mouths. No
|
||||
> text, letters or numbers anywhere in the image. No humans, no human figures, hands or faces,
|
||||
> no photographs, no logos, no brand characters. No 3D render look, no glossy highlights, no lens
|
||||
> effects, no gradients that look digital. Original artwork, not in the style of any existing
|
||||
> book, illustrator or film.
|
||||
|
||||
---
|
||||
|
||||
## 2. Palette
|
||||
|
||||
The main tones. Small shades in between are fine.
|
||||
|
||||
| Role | Colour | Hex |
|
||||
|:--|:--|:--|
|
||||
| Petals (main) | rose | `#C85A6E` |
|
||||
| Petal edges and light | pale petal | `#F2B5BE` |
|
||||
| Blush | warm pink | `#E8899B` |
|
||||
| Leaves | sage | `#7FA07A` |
|
||||
| Deep leaves and stem | moss | `#4F6E52` |
|
||||
| Outlines | deep plum-brown | `#3A2730` |
|
||||
| Paper | warm off-white | `#FBF6F1` |
|
||||
| Soil and wall stones | warm umber | `#8A6248` |
|
||||
| Wood | honey | `#B98A5A` |
|
||||
| Meadow by day | soft green | `#A9C48E` |
|
||||
| Sunset light | amber gold | `#F2B860` |
|
||||
| Sunset glow | coral | `#E9846A` |
|
||||
| Night | dusk indigo | `#2E3561` |
|
||||
| Lamps and stars | lamp gold | `#F4D58D` |
|
||||
|
||||
Never use neon, saturated primaries, pure black, pure white or cold greys.
|
||||
|
||||
---
|
||||
|
||||
## 3. The rose
|
||||
|
||||
The rose is the only character in Phase 1. Every rose picture follows the character sheet
|
||||
`rose-sheet`, so she looks the same in every one.
|
||||
|
||||
- **One garden rose** on a single slender stem. She is about three blooms tall, from the bloom
|
||||
down to where the stem meets the soil. She has three leaves, two low and one high, and a few
|
||||
small thorns with rounded tips. The thorns are part of her and never look threatening.
|
||||
- **The bloom is her head.** It is made of soft, layered petals in rose (`#C85A6E`) that turn
|
||||
pale petal (`#F2B5BE`) at the edges. Her face sits in the middle of the bloom: two small dark
|
||||
eyes, often half-closed, and a tiny mouth. When she is tended, a faint blush (`#E8899B`) shows
|
||||
on the petals by her cheeks.
|
||||
- **A little vain.** She holds her head high and keeps her petals neat. Her leaves move like
|
||||
small arms: one raised when she speaks, both lowered when she is thirsty.
|
||||
- **Stages:** a tight bud, an opening bud, a half bloom and a full bloom. Each stage has the same
|
||||
face and the same stem, and only the bloom changes.
|
||||
- **Drift looks like waiting, never like hurt** (CLAUDE.md §8). Turned a little away, petals
|
||||
closed a little, eyes looking down. She is never wilted, broken, crying, dead or losing
|
||||
petals in pain. Fallen petals are a care task, not damage.
|
||||
- **Expressions:** content, sleepy, blushing, speaking, thirsty, too much water, windblown,
|
||||
waiting. Never angry, crying hard, frightened or hurt.
|
||||
|
||||
---
|
||||
|
||||
## 4. The world
|
||||
|
||||
- **The garden:** a small round garden bed on a hillside meadow. A low dry-stone wall sits
|
||||
behind it, with wild grasses and a few small meadow flowers. The horizon is wide and low in
|
||||
the west, on the left, where the sun sets.
|
||||
- **The sky is drawn in code (S5).** Garden pictures are layers: everything above the horizon
|
||||
is transparent. The sky, the sun, the moon and the real stars are drawn behind them.
|
||||
- **Times of day:** morning, day, sunset and night. Each is its own layer, with its own light
|
||||
on the same garden.
|
||||
- **Care things:** a small watering can, a woven willow windbreak, weeds, fallen petals, and
|
||||
the folded petal that holds the day's sentence. The words on a petal are added in code and
|
||||
never painted.
|
||||
- **The chair:** a small, weathered wooden garden chair. It is the one in the in-game sunset
|
||||
("move the chair, watch it again").
|
||||
- **Never in any picture:** a glass dome or bell jar over the rose, a folding screen, a tiny
|
||||
round planet with someone standing on it, a desert, a child, a scarf, a boy with golden hair,
|
||||
or anything that looks like a drawing from the book (GAMEPLAY.md §8: *a direction only —
|
||||
never, ever copying the illustrations*). The willow windbreak is the shelter from the wind,
|
||||
and it must look nothing like a screen.
|
||||
- No flags, religious symbols, buildings, vehicles or people.
|
||||
|
||||
---
|
||||
|
||||
## 5. Sizes and backgrounds
|
||||
|
||||
Image generators offer 1024 × 1024, 1536 × 1024 and 1024 × 1536. Every picture is made at one
|
||||
of those sizes.
|
||||
|
||||
| Kind | Made at (px) | Background | Notes |
|
||||
|:--|:--|:--|:--|
|
||||
| Character sheet | 1536 × 1024 | full, plain paper | A reference only, never shown in the app |
|
||||
| Sprite sheet | 1536 × 1024 | transparent | Cut into cells along its grid (§9) |
|
||||
| Single picture | 1024 × 1024 | transparent | Centred, whole, about 10 % clear on every side, no ground shadow |
|
||||
| Garden layer | 1024 × 1536 | transparent above the horizon | Horizon at 40 % from the top; keep the lower middle calm for the rose and the controls |
|
||||
| App icon | 1024 × 1024 | full | Keep the bloom inside the middle 70 %; phones cut the corners |
|
||||
|
||||
- Accepted pictures go into `art/final/` as WebP, within the size budget in `docs/ART.md` §4.
|
||||
- One subject per picture. Never crop a petal, leaf or stem.
|
||||
- Keep the same outline weight and paper texture in every picture.
|
||||
|
||||
---
|
||||
|
||||
## 6. How a prompt is built
|
||||
|
||||
The art board writes every prompt. Nobody types them by hand. Each prompt is §1, then:
|
||||
|
||||
```
|
||||
Asset: <id>
|
||||
Purpose: <where it appears and what it must say, in one sentence>
|
||||
Subject: <who or what, with the character sheet to attach>
|
||||
Setting / Canvas / Layout: <by kind: see §5 and §9>
|
||||
Size: <made at W × H px, background>
|
||||
Must include: <…>
|
||||
Must avoid: <the picture's own list, then the list every picture shares (§4)>
|
||||
```
|
||||
|
||||
`tools/art-prep` builds the prompts from `art/manifest.json` (`pnpm art:board`), and a test
|
||||
checks that each one starts with §1 word for word.
|
||||
|
||||
---
|
||||
|
||||
## 7. Review points
|
||||
|
||||
The board shows these under each card, and Claude's review checks them. Mark doesn't have to
|
||||
tick them: *Accept* is one tap.
|
||||
|
||||
0. It reads as one living garden rose with a soft face in her bloom: small eyes, a tiny mouth.
|
||||
1. She matches `rose-sheet`: the same bloom, petal colours, three leaves and rounded thorns.
|
||||
2. The colours stay within §2, with soft plum-brown outlines, in matte gouache, not wet watercolour.
|
||||
3. Nothing from the book: no glass dome, screen, tiny planet, desert, child or scarf, and no
|
||||
look of its drawings.
|
||||
4. No text, numbers, logos, people or stray symbols.
|
||||
5. The size and background are right for its kind in §5.
|
||||
6. It reads clearly at the smallest size it is shown.
|
||||
7. It is gentle: nothing blames, frightens or looks hurt, and drift looks like waiting.
|
||||
|
||||
---
|
||||
|
||||
## 8. What Claude checks before Mark sees a picture
|
||||
|
||||
- **Likeness:** the picture is compared with §4's *never* list. A rose under glass, a screen,
|
||||
a planet the size of a house, or a pen-and-wash look means another try, however pretty it is.
|
||||
- **Soul:** CLAUDE.md §8, *drift that reads as blame*. A rose who looks hurt or sad because of
|
||||
the player is refused.
|
||||
- **Words:** a picture with painted letters is refused, because words come from the copy library.
|
||||
|
||||
---
|
||||
|
||||
## 9. Sprite sheets
|
||||
|
||||
A sprite sheet is one prompt that makes several pictures at once on a grid. The board shows the
|
||||
cut lines over the upload. `pnpm art:accept` cuts the sheet apart, and each cell becomes its own
|
||||
picture in `art/final/`.
|
||||
|
||||
- The cells are equal and invisible. They are read like a book: left to right, top row first.
|
||||
- Each drawing stays inside its cell's safe box, which keeps 12 % of the cell's shorter side
|
||||
clear on every side. Nothing crosses a cut line.
|
||||
- The whole sheet uses one scale. The largest drawing fills its safe box, and every other
|
||||
drawing is drawn at that same scale.
|
||||
- When a sheet won't keep to its grid, each cell can be made on its own with its own prompt
|
||||
(*One at a time* on the board). Each one is then accepted separately.
|
||||
Reference in New Issue
Block a user