38 lines
1.5 KiB
Markdown
38 lines
1.5 KiB
Markdown
# Bedstemors Flæskesteg — Advent of AI Slop, Day 4
|
||
|
||
> Visualize step by step how to cook your favorite dish. Is it your grandmother's recipe?
|
||
|
||
Grandma's flæskesteg — Danish roast pork with crackling, rødkål and brunede
|
||
kartofler — told in ten steps through one animated canvas kitchen.
|
||
|
||
- **Ten steps, one kitchen.** Each step swaps the canvas scene: scoring the
|
||
crackling, the glowing oven at 200 °C, bubbling rødkål, the amber caramel
|
||
swirl for brunede kartofler, carving, and the final plate by candlelight.
|
||
- **Timers that actually run.** Every timed step has a real countdown. Demo
|
||
mode (default) runs them 60× faster so you can finish Christmas dinner in
|
||
the time it takes to boil a egg.
|
||
- **Servings slider** scales the shopping list from 1 to 10 people.
|
||
- **Progress + persistence.** Checked steps, servings and demo mode survive a
|
||
reload (localStorage). Complete all ten for the *Velbekomme!* confetti.
|
||
|
||
The crackling must crack, not chew.
|
||
|
||
## Stack
|
||
|
||
Vite + TypeScript, no dependencies beyond the template. The kitchen is a plain
|
||
2D canvas; every animation is a pure function of time (no particle state).
|
||
|
||
## Develop
|
||
|
||
```sh
|
||
pnpm install
|
||
pnpm dev
|
||
pnpm build # tsc + vite build
|
||
```
|
||
|
||
Built with `VITE_SITE_URL=https://pages.obahan.xyz/lullu/advent-of-slop-04-flaeskesteg`
|
||
so the og: tags resolve. `scripts/smoke4.py` smoke-tests the built `dist/`
|
||
with headless Playwright (interactions, timer, persistence, win overlay).
|
||
|
||
Live: <https://pages.obahan.xyz/lullu/advent-of-slop-04-flaeskesteg/>
|