Files
Rosea/art/STYLE.md
T

322 lines
20 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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.
> **Approved by Mark, 2026-11-01.** Claude drafted this file from CLAUDE.md §1 and GAMEPLAY.md,
> and Mark kept the draft as it was: S1–S5 in §0 are decided. The first picture on the board,
> the rose's character sheet, is still the test. If it looks wrong, this file changes before
> anything else is made, and `pnpm art:board` rebuilds every prompt.
>
> **The fox and the Phase 2–3 pictures** (F1–F4 in §0, §3a, the new rows in §2 and §4, review
> points 8–9) were added later the same day and **approved by Mark** with one change: the fox's
> coat is a deep red-orange, not the drafted muted russet.
>
> **Rewritten 2026-11-07, at Mark's request.** The first `rose-sheet` came back as wet, pale
> watercolour with a smiley face on a round ball inside the petals: a children's sticker sheet,
> and the opposite of S1. Mark did not like it. The choices S1–S5 stand; the words that carry
> them were too weak. §1 now leads with the look and says it positively, §3 puts the face *on*
> the petals, and §6 makes prompts short enough for a generator to follow. The book's motifs
> are no longer named in prompts (naming them invites them); they stay in §4 and §7, where the
> review catches them. The picture list grew to every picture Phases 1–5 need (§4).
>
> **Changed by Mark, 2026-11-17: her world is a round tiny planet, and a gardener tends her.**
> Seeing the garden as a page of buttons, he asked for a game: a planet, a character who does the
> care with animations, gestures. He chose a **round tiny planet** (S2 below, reversed) and a
> **human gardener, a boy or a girl, chosen and dressed by the player** (S6, new), knowing that
> a child tending a rose on a small round planet is close to the book's most recognisable image.
> The guards that keep them our own are in §3b, §4 and review points 10–11, and a legal check of
> the look comes before any public release (`.agents/features/planet-garden.md` §0).
---
## 0. The choices, decided 2026-11-01
| # | Choice | Decided | 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~~ **A round tiny planet of her own, cultivated as a garden**: meadow over it, her bed on top, a low dry-stone wall, the chair, the wild bush. *Reversed by Mark 2026-11-17.* | He wants a world of her own, as a game has. It stays a garden, never a bare rock: no volcanoes, no baobab-like trees, no single lamp post (§4). The real sky is still code behind it (S5); the in-game sunset keeps the hillside garden for its wide horizon. |
| S6 | Who tends her | **A human gardener: a boy or a girl, chosen and dressed by the player** at the first open (skin tone, hair and its colour, clothes colour, a hat). *Decided by Mark 2026-11-17.* | The care is done by a character, with animations. The gardener is the player's own, so no two need look alike; simple work clothes and an apron, never a scarf, a long coat or cape, a green suit, a crown or a sword (§3b). |
| 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. |
**The fox and the Phase 2–3 pictures, decided 2026-11-01.**
| # | Choice | Decided | Why |
|:--|:--|:--|:--|
| F1 | The fox's look | A small, young, shy fox with a **deep red-orange** coat, a cream mask round his eyes and muzzle, dark legs, and a bushy tail with faint darker rings. *Mark changed the coat from the drafted muted russet; the rest is as drafted.* | The mask and the rings are the quiet nod to Ulfík the red panda (CLAUDE.md §1), and the deeper coat is closer to his. All of it keeps him far from the book's fox, which is pale and sandy with very long ears. |
| F2 | His size | Sitting, he is about as tall as the rose | They share the garden bed and must read together on a phone. |
| F3 | Bush and berries | One wild bush in three states. The berries are their own small pictures, placed on the bush in code | Five berry kinds (GAMEPLAY.md §3) then need one bush, not five. |
| F4 | Paths and lanterns (Phase 3) | Small vignettes for now | The screen that shows two roses and the path between them is not designed yet. Its feature doc may ask for them again. |
---
## 1. The system prompt (paste word for word)
> A hand-painted picture in opaque, matte gouache on warm off-white paper, for a quiet game made
> for grown-ups. Flat, chalky areas of colour with visible dry-brush strokes and the grain of the
> paper showing through; two or three soft tonal steps in each shape, no smooth blending.
> Every form is edged with a soft brush line in deep plum-brown that swells and thins, slightly
> uneven, as a painter's line does. Simple, confident shapes with a clear silhouette that still
> reads when the picture is small. Low, warm evening light from the left: each form has a warm
> lit side and a cooler, slightly violet shaded side. A restrained palette of dusty rose, sage,
> moss green, honey and warm umber; amber gold and coral appear only in evening light. The mood is
> calm, tender and quietly hopeful, with a little dry humour, like a page from a finely printed
> book for adults: understated, never sugary, never a children's sticker or a cute mascot.
> Characters are alive but small-featured: their faces are a few tiny marks painted directly on
> them, with eyes as small dark dots or crescents, often half-closed. No text, letters or numbers
> anywhere. No people, hands or human faces, except the player's gardener where the picture names
> them. Not watercolour: no wet washes, bleeding edges, blooms or
> pale tints. Not digital: no 3D rendering, gloss, airbrush gradients or lens effects. An
> original design, in the manner of no existing artist, book 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` |
| Fox coat | deep red-orange | `#BC4A22` |
| Fox mask, chest, tail tip | cream | `#F3E3C8` |
| Fox legs, ear tips | deep brown | `#5A3A33` |
| Wild strawberries | strawberry | `#D2554E` |
| Blueberries | dusk blue | `#5B6FA6` |
| Raspberries | raspberry | `#C2456A` |
| Blackberries | bramble | `#3F2E4A` |
| Rose hips | hip orange | `#D0632E` |
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 a real old garden rose: cupped, many-petalled, the outer
petals curling back, in rose (`#C85A6E`) turning pale petal (`#F2B5BE`) at the edges. It is
her head by its posture, not by a drawn-in head.
- **Her face is painted on the petals** at the heart of the bloom, where the inner petals fold
together: two tiny dark eyes (dots or crescents, often half-closed) and a short mouth curve,
the whole face no wider than a fifth of the bloom. **There is no round face, ball or bare
patch inside the petals**: the petals curl round the face as they would round the heart of a
real rose. When she is tended, a faint blush (`#E8899B`) warms the petals beside her eyes.
- **Proportions:** the bloom is about as wide as a third of her height; the stem is slender but
strong enough to hold it up proudly.
- **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, tickled (a touch), and *gently* (a rush of touches: one leaf raised, calm, never
cross — thorns.md). Never angry, crying hard, frightened or hurt.
---
## 3b. The gardener (S6, decided by Mark 2026-11-17)
The player's own gardener: a boy or a girl of about ten, chosen and dressed at the first open.
Every gardener picture follows `gardener-sheet`.
- **Simple work clothes:** a plain short-sleeved shirt (the boy, with trousers) or tunic (the girl,
with bare legs), a cream canvas apron with one pocket, small sturdy boots. Hands small and simple.
- **A face like the others':** a few tiny painted marks, eyes often half-closed, calm and kind.
- **The choices the player makes** (skin tone, hair style and colour, clothes colour, straw hat,
cap or none) are the app's (`gardener.schema.json`). The board paints **the first look** (the girl:
braids, brown hair, sage clothes, straw hat; and the boy, short hair, the same colours) so the
character can be judged. **How the other looks are drawn** (separate layers for hair and hat, or
clothes painted to be tinted in code) **is still open** and waits for Mark: it decides how many
pictures the gardener needs.
- **Never:** a scarf, a long coat or cape, a suit with epaulettes, a crown, a sword, golden curls
with a green outfit, or anything that recreates the book's boy. He or she is a gardener at work.
- **Size:** standing, a little taller than the rose.
---
## 3a. The fox (Phase 2: F1–F2)
The fox is the second character. Every fox picture follows the character sheet `fox-sheet`.
- **A small, young fox** with a deep red-orange coat (`#BC4A22`), warm and glowing, never neon. His face has a cream mask
(`#F3E3C8`): cream cheeks and muzzle, and a small cream spot above each eye. His legs and
paws are deep brown (`#5A3A33`). His ears are rounded and of middle size, cream inside with
dark tips. His tail is big and bushy, with three faint darker rings and a cream tip.
- **His face** is like the rose's: small dark eyes, often half-closed, and a tiny dark nose
and mouth. He is shy and curious, never sly.
- **He is a fox, not a red panda.** He has a fox's pointed muzzle and a fox's body. The mask
and the tail rings are only a nod.
- **Sitting, he is about as tall as the rose.**
- **How he comes closer:** watching from a distance, curious, sitting, resting near. Then the
ways he is tamed: petted, brushed, eating berries. The player's hand is never drawn. A
petted fox simply leans into a touch we do not see.
- **Never:** pale sandy fur, very large ears, a wheat field, a collar, lead or clothes, or a
fox who looks sly, hungry, 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.
- **The wild berry bush (Phase 2, F3):** a small round bush beside the rose's bed, with soft
oval leaves. It rests, flowers, then ripens. The berries are their own pictures: wild
strawberries, blueberries, raspberries, blackberries and rose hips. Code places them on the
bush and on the large leaf the fox eats from. A soft wooden brush is used to groom him.
- **Paths and lanterns (Phase 3, F4):** a path through the meadow grows from paw prints, to a
trodden trail, to a soft earth road edged with stones. A lantern is a small iron-and-glass
hand lantern hanging from a shepherd's-crook post, never a street lamp.
- **The planets (Phase 2, drafts).** Each lonely grown-up has a small place of their own: a
grassy hilltop seen from the side, its edge dropping away below — never a ball or a sphere.
**The grown-up is never drawn**; the place shows who lives there, and the emptiness is the
point. The pictures are drafts until each planet's feature doc decides it. The sixth
grown-up's place is left out on purpose until its feature doc decides how it can be shown
gently.
- **Visitors and mementos (Phase 2):** small garden creatures that come by (a hedgehog, a robin
at dawn, a snail, a moth, a ladybird, a small owl) and the small things they leave.
- **The shared sky (Phase 4):** the sky is code; only small lights and the lamps of the
sunset wave are pictures.
- **The share frame (Phase 5):** a border of meadow round an empty middle where the player's
sky is drawn.
- **Her home planet (S2, reversed 2026-11-17):** a small round world seen whole, covered in meadow,
with her round garden bed on top, a low dry-stone wall curving behind it, the wooden chair on its
shoulder and a few meadow flowers. Everything outside the planet is transparent: the sky is code.
**Never** volcanoes, baobab-like trees or a lone lamp post on it: it is a garden, not a rock.
- No flags, religious symbols, buildings or vehicles. No people except the player's gardener.
---
## 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:
```
Make: <what kind of image, in one plain sentence>
Reference: <the character sheet to attach, and to match exactly> (character pictures only)
Subject: <who or what, and the character's look>
Setting / Layout: <the scene, or the grid in words: columns, rows, gaps>
Canvas: <W × H px, background>
Include: <…>
Avoid: <a short list: the picture's own, then the few every picture shares>
Board id: <id>
```
Why this shape (2026-11-07): generators follow the first lines and drift on the rest. So the
look comes first (§1), the picture second, and nothing a generator cannot use: no pixel
coordinates (the board's cutting overlay and `art:accept` keep those), and no long lists of
things not to draw. Naming a motif, even to forbid it, makes it likelier; the book's motifs are
therefore checked in review (§4, §7), not written into prompts.
`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, her face a few tiny marks painted on her inner petals,
with no round ball face, and calm enough for grown-ups, not a sticker.
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. It reads as one young red-orange fox with a cream mask and a ringed tail, shy and gentle, and
nothing like the book's sandy, long-eared fox.
9. He matches `fox-sheet`: the same mask, ears, leg colour, tail rings and size.
10. The gardener is a child at garden work, matching `gardener-sheet`: plain shirt or tunic, an
apron, boots; no scarf, long coat, cape, suit, crown or sword, and nothing like the book's boy.
11. Her planet is a cultivated garden world: meadow, her bed, the wall, the chair; no volcanoes,
no baobab-like trees, no lone lamp post, and not the look of the book's little planet.
---
## 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.