Build an animated social post editor. Static design in, short video out. Canvas: a fixed size chosen from platform presets (square, portrait, story, wide). Elements: text, image, shape, and a background (solid, gradient or image). Timeline, which is the point of this build. Duration is short and bounded — 2 to 15 seconds. Each element carries: - An entrance: fade, slide from a direction, scale up, or typewriter for text. - A hold period. - An exit: fade, slide out, scale down, or none. - A start offset and durations for each phase. Represent the whole animation as a declarative list of keyframes per element, evaluated by a single function of time. Both the preview and the renderer call that same function, which is the only way the exported video matches what the user saw. A preview driven by CSS transitions and an export driven by separate frame maths will always diverge, and the divergence is what makes homemade animation tools untrustworthy. Easing: a small fixed set (linear, ease-out, ease-in-out, and one spring-like curve), implemented as explicit functions. No arbitrary bezier editor. Preview: play, scrub, and loop, at real time, in the canvas. A frame counter and a time readout so timing can be discussed precisely. Rendering: evaluate the keyframe function at each frame, draw to an offscreen canvas, and pipe the frames to ffmpeg. Export MP4 (H.264, even dimensions, correct pixel format for platform compatibility) and animated GIF with a generated palette. Show real progress and allow cancellation without leaving a partial file. Render in a background process so the editor stays usable. Audio: an optional audio file trimmed to the animation length, with a fade at both ends. Ship no music. Text auto-fit: text boxes have fixed frames and the type size scales to fit, so a typewriter entrance does not reflow the layout mid-animation. Templates: a template is a design plus its timeline, saved as a file. Ship none; the first run walks the user through saving one from something they made. Export check: warn before rendering if the output would exceed a configurable file-size budget, since every platform has a limit and discovering it at upload time is the usual failure. Out of scope: a template or stock library, background removal, collaboration, scheduling or publishing, and any hosted rendering.