Skip to gallery
MotionPromptGallery

Animated pixel art wizard casting a spell

By Majid Manzarpour (@majidmanzarpour). Model: Claude Opus 5.5. Posted Sep 22, 2026. Original post: https://x.com/majidmanzarpour/status/2102476258948927543

Create a single self-contained HTML file that renders an animated pixel art wizard casting a spell, using vanilla JavaScript and Canvas 2D. No external assets, libraries, or network requests.

RENDERING
- Draw everything to an offscreen canvas at a fixed logical resolution of 128x96, then blit to a fullscreen display canvas scaled by the largest integer factor that fits the window, centered, with imageSmoothingEnabled = false and CSS image-rendering: pixelated.
- All drawing snaps to integer coordinates on the logical canvas. No sub-pixel positions, anti-aliasing, gradients, or shadowBlur.
- Fixed palette of ~24 hex colors: deep blues/purples for night sky, warm robe tones, 3-4 bright magic colors. Every pixel comes from this palette.

CHARACTER
- Build the wizard procedurally from filled rects and pixel runs, ~24x32 logical pixels: pointed hat with a bend, long beard, two-shade robe with darker outline, staff with a gem at the tip.
- Parameterize the pose (staff angle, arm raise, head tilt, robe sway). Animate parameters smoothly, then quantize to the pixel grid each frame so motion reads at an 8-12 fps pixel animation feel even though the loop runs at 60fps.

ANIMATION
- Looping state machine: IDLE (2-frame bob, beard sway) -> CHARGE (staff raises, gem flickers, sparks spiral inward) -> CAST (bright burst, projectile fires across the scene, 1-2 pixel screen shake) -> RECOVER (settle back). Ease pose parameters between keyframes.
- Pooled allocation-free particle system: preallocate and reuse. Sparks orbit the gem during CHARGE, explode outward on CAST, each particle stepping its palette index from white to magic color to dark before despawn. Snap particle positions to the grid when drawing.
- Fixed 60hz timestep update with rAF rendering. Zero object allocation inside the loop.

SCENE
- Minimal background: dark sky, a few twinkling 1px stars, moon, stone floor line. Character silhouette must read clearly.
- Subtle 1px rim light on the wizard from the gem, brightening during CHARGE and CAST.

QUALITY BAR
- Crisp pixels at any window size, seamless loop, stable 60fps, readable silhouette. Should look like a polished 16-bit sprite animation, not vector shapes scaled down.

178 pieces · 4 models

Motion graphics made with frontier AI models, next to the prompts that made them.

A curated gallery of work made with Claude Opus 5.5, Kimi K3, Claude Fable 5 and GPT-6 Astra. Every piece credits its creator and links back to the original post.

178 pieces

Claude Opus 5.5

20-second kinetic identity bumper for TechHalla

@techhalla

Prompt
Claude Opus 5.5

Interactive Raptor 3 rocket engine explainer

@konstantinsaifo

Prompt
GPT-6 Astra

Little Ritual

@OpenAIDevs

Prompt
Claude Opus 5.5

Motion showreel with a fully code-synthesized soundtrack

@prasenx

Prompt
Kimi K3

Voxel pod-racer run

@ivanfioravanti

Prompt
Claude Opus 5.5

Infinite-zoom landscape loop

@koldo2k

Prompt
Claude Opus 5.5

30-second motion promo for Kody

@kentcdodds

Prompt
GPT-6 Astra

Velocity Loop

@OpenAIDevs

Prompt
Claude Opus 5.5

Linear algebra fear music video

@doubleunplussed

Prompt
Kimi K3

Melting Space: Ricci flow and the Poincaré conjecture

@HarleyCoops

Prompt
Claude Opus 5.5

Motion design showreel exploring "overthinking"

@gizakdag

Prompt
Claude Opus 5.5

Recursion explainer with shifting video styles

@emollick

Prompt
GPT-6 Astra

38-second fictional game trailer built entirely in code

@theparuchh

Prompt
Claude Opus 5.5

UX decision explainer animation

@moguzbulbul

Prompt
Claude Opus 5.5

Chaotic brain-rot style motion video

@kloss_xyz

Prompt
Claude Opus 5.5

Create a complete, polished Spotify-themed motion graphics…

@brainextends

Prompt
Claude Opus 5.5

Create and render a 15-second motion graphics video introducing…

@HowDevelop

Prompt
Claude Opus 5.5

Create best motion graphics explainer of the (your product)…

@sudo_kiran

Prompt
Claude Opus 5.5

History of AI animated timeline video

@kloss_xyz

Prompt
Claude Opus 5.5

Launch motion video for mounis.app

@MustaphaFenzar

Prompt
Claude Opus 5.5

Live generative code art from a typed word

@MiaAI_lab

Prompt
Claude Opus 5.5

Make a showreel-style motion graphics video for my portfolio…

@wani_shola

Prompt
Claude Opus 5.5

Motion piece by @alexwtlf

@alexwtlf

Prompt
Claude Opus 5.5

Motion piece by @daniel_mac8

@daniel_mac8

Prompt