Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: keep shot-scale variety in the Code Animation direction section

[._.]/ Adam Eivy0459fdb56609
diff --git a/server/services/codeAnimation/prompt.js b/server/services/codeAnimation/prompt.js
index 0c269df52d..b470479083 100644
--- a/server/services/codeAnimation/prompt.js
+++ b/server/services/codeAnimation/prompt.js
@@ -216,7 +216,7 @@ export const PACING_RULE = 'open cold, mid-action, and hook within two seconds;
// review loop, so the loop is folded into how the model structures the code
// and what it checks before answering.
const DIRECTION = `DIRECTION — make it feel like a studio short, not a tech demo:
-- Structure the code like a production: a shot/beat timeline (an array of { start, end, … } entries at the brief's timestamps; where it gives none, time the beats yourself: establish → develop → climax → resolve), a virtual camera (position, zoom, rotation, seeded handheld micro-shake, shake impulses, tilts, dolly moves), a scene/world layer system shared by every shot, the character rigs, the transitions, and a final finish pass.
+- Structure the code like a production: a shot/beat timeline (an array of { start, end, … } entries at the brief's timestamps; where it gives none, time the beats yourself: establish → develop → climax → resolve), a virtual camera (position, zoom, rotation, seeded handheld micro-shake, shake impulses, tilts, dolly moves, with shot scale varied between beats), a scene/world layer system shared by every shot, the character rigs, the transitions, and a final finish pass.
- Depth and scale (unless the art style is deliberately flat): at least four parallax layers per scene with atmospheric perspective (haze and desaturation with distance), a shallow-focus feel (blurred foreground elements), and a camera height chosen to sell the characters' scale.
- Lighting: key, fill, and rim on the characters (gradient overlays and multiplied shadow layers in 2D, shader terms in WebGL); glowing elements cast light on nearby surfaces. Finish the whole frame with a pass that suits the style (e.g. subtle grain and a gentle vignette).
- Performance: anticipation, squash and stretch, overlap, easing, and deliberate holds — a held reaction (a one-second deadpan, a freeze) is what lets a gag land. Emotion reads through the eyes, posture, and signature appendage, never through captions.