Claudia

Details

Style & taste guide

From TASTE.md in the current version.

Taste

What good looks like in Claudia. Critics judge every contribution against this file.

Look

Stylized but rich. Silhouettes stay clean and simple, and the surfaces carry the detail: brick in running bond, painted lap siding, rusticated stone, glass, framed windows with blinds, asphalt with patches, sidewalk slabs, pavers, pier planks. All of it is painted in the shader from code, with no texture files. Soft ambient occlusion, long shadows across the whole city, a bay that reflects it, and a warm haze toward the sun. Think of a postcard of San Francisco in the first golden hour of the morning: the sun just up over the East Bay behind the Bay Bridge, lighting the waterfront face of the city, while the fog still sits on the western hills.

The light is part of the look. The waterfront faces the sun, the shadows are cool, the highlights are warm, and the grade in src/render.js keeps it that way. A change that moves the sun or the grade has to show the same postcard in every screenshot.

The palette, with hex values:

RoleHexUsed for
Scooter lime#a3e635Claudia's scooter, her trail and her UI. Nothing else in the game is lime.
Fog#dfe3eaSky, distance fog, UI panels
Bay#3b6e8fWater, shadows, night tint
Asphalt#4f5158Streets
Row-house pastels#e9b8b5 #f1d79c #a9c9b6 #b9c3e6Houses, at most two pastels per block
Bay Bridge steel#a9b3bdThe Bay Bridge
Bridge orange#c4442fThe Golden Gate, cones, warning signs
ChadAI#8b5cf6ChadAI's tower, drones, billboards and anything it owns
ClamCode#ff8a6bClamCode's building, couriers, billboards and anything it owns

The numbers live in src/palette.js; keep the two in step.

  • Claudia's scooter is the brightest, most saturated thing on screen. You find her in a screenshot in under a second.
  • Claudia is the one detailed figure in a low-poly city. She is a slim young woman in cute, stylized proportions: a head about a third larger than life on a slim figure with a small waist, wide hips under the skirt and narrow shoulders. She is smooth and rounded, with a face; cute but edgy, never exaggerated. A glossy black bob that rounds out and curves under at the chin, with a heavy blunt fringe at the brows and a copper-red streak through it, blown back by the wind of her speed, with a soft ripple running down it that swells when she speeds up. A soft round face, big bright eyes, rosy cheeks, small rosy lips, a black choker, a white tank printed with a lightning bolt and OFFLINE, a pleated navy skirt that flutters, chunky black designer sneakers on white soles with lime heel tabs, and a lime star clipped above her left temple. She rides standing tall and relaxed, feet side by side and knees soft, not crouched like a racer. Her hands stay on the bar and her feet on the deck (src/scene/rider.js poses them every frame). Change her look only on purpose, and keep lime as her accent.
  • A lab's color means "this is the lab." Don't use violet or coral for anything else.
  • Text is readable on a phone: nothing smaller than 14 px at 390 px wide, and white or asphalt on fog, never on a busy scene without a panel.
  • Things in the street glow on the asphalt beneath them so they read at speed: burritos warm orange, GPUs cool cyan, and neither is lime. The men with carts are drawn plainly, like anyone else in the city, with no joke made of them.

Good: a phone screenshot where the lime scooter pops against pastel houses and grey fog, with a coral ClamCode van blocking the street ahead. Not good: a neon cyberpunk San Francisco, a lime-green billboard, or a HUD that covers the road.

Ride

  • Controls answer at once. The scooter reaches cruising speed (about 43 mph) in about a second and stops just as fast. Shift boosts her toward 57 mph on the flat, and the view widens to match.
  • Hills are real. Climbing slows you, and cresting a hill throws you a little. Hills are the city's signature: don't flatten them, and don't make a block steeper than the 28% in MAX_GRADE.
  • The camera rides a little above and behind her, looking down the street ahead. It leans into turns, eases back and widens at speed, and never clips into buildings. She stays big enough to read her outfit.
  • Falling off is quick and funny, not a punishment: a tumble, a second, back on.
  • Difficulty rises one mission at a time. The first mission can't be failed by someone who has never played a game.

Tone

  • Dry satire about AI hype. The jokes live in billboards, intercepted messages, mission briefings and lab slogans: "AGI by Friday (ChadAI)", "Responsibly scaling, irresponsibly fast (ClamCode)".
  • Each lab has its own voice. ChadAI is loud, confident and hype-bro. ClamCode is earnest, anxious and full of footnotes. Neither is cartoon evil: they both think they're the good guys.
  • Claudia is quick-witted and never preachy.
  • No real people, no real logos, no slurs, no jokes about anyone's looks.

Good: a ClamCode billboard reading "Our model is 40% more aligned*", with the asterisk on a second, smaller billboard down the block. Not good: a mission briefing that lectures the player about AI risk for three paragraphs.

Code

  • Rules stay pure and seeded in src/game.js, src/city.js, src/traffic.js, src/camera.js and src/missions.js, with no Math.random, no DOM and no three.js.
  • Fine detail fades with distance or is filtered, so nothing shimmers. A new pattern that crawls as the camera moves is a bug.
  • Laptops get the full pipeline (cascaded shadows, ambient occlusion, bloom, reflections); phones get the same look on a lighter one. Check both with ?quality=high and ?quality=low.
  • Screenshot routes are deterministic. A ?shot= URL simulates to time t, draws one frame and sets window.atelierReady = true.
  • 60 fps on a recent laptop, 30 fps on a mid-range phone. Reuse geometry and use instancing for buildings and props.
  • Everything works offline from dist/.