Quirkling · spec v0.1
A small, slightly silly face that pays attention.
Two eyes, a few springs and strong opinions. Drop it into any app.
Seventeen moods, one face
Tap one. Then give it a new face.
Not really a square
Two eyes are the only rule. Pick a body.
Same app, suddenly alive
It lives where your app waits, empties out or breaks. Everything here is real. Poke it.
In the tab
Your favicon can react too. Press one, then look at this tab.
On the screens nobody designs
Loading, empty, not found. Same screens, with and without.
In a toast
One look says how it went.
In a chat
It thinks while your bot does.
And everywhere else
A terminal, a home screen, a footer. Same face.
Hand it to your agent
One prompt. It reads the spec, builds Quirkling for your stack and keeps going until the tests pass. A React template is coming.
Add Quirkling to this project: a small mascot (a rounded square with two eyes) driven by springs.
Spec, the source of truth: https://quirkling.rinyato.com/spec.md
Follow it exactly. Don't invent motion. If the spec is silent or ambiguous, ask me.
A React template is coming. For now, on every stack (React included), implement it from the spec:
1. Core, pure and deterministic (no DOM, no timers, no platform randomness):
resolve (§3), geometry (§4), step (§5–9), pose (§10).
2. A view for this stack that draws the pose (§10.3 has the SVG mapping).
Step at a fixed 120 Hz from the frame callback (§A.1). No animation libraries.
3. A runner (§15.4), then run the conformance suite until it passes:
quirkling-conformance --runner "<command that starts your runner>"
Aim for L4 and tell me the level you reach.
4. Reduced motion (§11): follow the OS setting; a still mascot, instant expressions.
5. Accessibility (§12): decorative when passive, a real button when interactive.
6. One ticker for every mascot on the page; stop stepping when one is off-screen.
7. The favicon (§14), derived from the same config.
Placement: one logo per screen, plus at most one guest while a screen is waiting, empty, done or broken.
Never inside content people read. Mood lives in the eyes; never recolour the body.
My config (spec 0.1; unlisted fields use defaults):
{ "spec": "0.1" }
When it passes, show me one usage example: the header logo at 24 px.
Same frames, every stack
Build it in React, SwiftUI or a terminal. 113 golden checks make sure it moves exactly like this one.
Same input, same engine, same frames. A port passes only when it lands on every one of them.