Dreamcore posters
Dreamcore feels like a half-remembered dream:
- soft pastel light and big cumulus clouds
- slightly overexposed photos
- ordinary objects in places they don't belong (a door in the sky, a TV in a field, a pool with no one in it)
- quiet lowercase serif lines in English ("which door is yours?")
It suits youth-facing courses, festivals, exhibitions and brand campaigns that want to feel gentle rather than loud.
| Path | What it is |
|---|---|
scripts/dream.py | grade: photo → dream grade (bloom, lifted blacks, tinted shadows, grain), fitted without stretching. sky: pastel cloud sky, optionally tinted to an item colour. pool: top-down pool water with caustics |
scripts/render.py | HTML → A4 300 dpi PNG + PDF + preview, with an options montage. Finds Chrome / Edge / Chromium |
scripts/demo.py | runs the whole pipeline on a procedural image. Run it once to check the machine |
assets/door-stairway.html | floating steps rise into the clouds, one arched door per item with its graded image, labelled pills, dotted path |
assets/tv-meadow.html | a cream CRT TV with rabbit ears in a grassy meadow. The screen is a channel guide, one row per item with a thumbnail |
assets/pool-lanes.html | an empty pool from above. Each item names a lane, painted on the floor, with bead lane ropes in the item colours, starting blocks and a swim ring |
references/style-guide.md | palette, type, grading numbers, layout boxes, pitfalls. Read it before the first poster |
Needs Python 3 with Pillow and numpy, and a Chromium-based browser.
Workflow
-
Collect real content:
- logos
- the client's photos or renders, one per item
- item names, plus a colour per item if they have one
- headline
- formats and dates
- offer
- address
- QR
Soft English taglines such as "which door is yours?" or "tune in" are part of the look. Write them yourself if needed, tell the user which lines you wrote, and never invent facts such as prices, dates, numbers or results.
-
Make the art with
dream.py:- Door images:
grade --size 640x920 --tint <item colour>. - TV thumbnails:
grade --size 240x150 --bloom 10. - Sky:
sky, at about 2× the area it fills. - Pool:
pool --sky sky.jpg.
Pick
--centerso faces and subjects stay in frame. Grading always crops to fit and never stretches. - Door images:
-
Copy a template next to an
art/folder:- Edit the
ITEMSarray at the bottom. The geometry (stairway, rows, lanes) recomputes from the item count. - Replace every placeholder line.
- Put the QR
<img>inside.qrand the logos in.top. White logos suit the sky templates; dark logos suit the pool.
- Edit the
-
Render.
python scripts/render.py a.html b.html c.html --montage options.jpg. -
Check every preview yourself:
- labels clipped at the right edge
- long names overflowing pills or lanes
- faces cut by door arches
- text lost against bright clouds
Then show the user three distinct options. Make final files only for the one they pick.
Things that matter (and why)
- Grade every photo the same way. The dream grade (bloom, lifted blacks, lavender or item-tinted shadows, pink-white highlights, grain) is what turns unrelated client photos into one dream. Raw photos look like ads pasted onto a sky.
- Serif italic for the mood, black CJK for the facts. The English line is the poetry. Chinese headlines, item names and the CTA use a heavy sans so they stay readable. Keep the English short and lowercase, and pair it with a Chinese line that carries the meaning.
- Glow, not shadow. Text over the sky gets a white
text-shadowglow, never a dark drop shadow. Dark shadows break the softness. - One surreal object per poster. The stairway, the TV and the pool each work because the scene is otherwise calm. Don't stack several gimmicks on one page.
- Item colour as an accent, not a fill. Use it for door glow, number dots, channel numbers and lane ropes. Full-saturation fills fight the pastel sky.
- Fonts. The templates load Cormorant Garamond italic and Noto Sans SC from Google Fonts. Offline or in mainland China they fall back to Times New Roman / SimSun and Microsoft YaHei / PingFang, so check the preview.