WebGPU
效果复现

果冻骰子
- WebGPU
Opus 5.5 · 游戏与像素
Canvas 2D
效果复现
128×96 分辨率的像素巫师循环待机、蓄力、施法、收势,粒子池化复用,固定 24 色调色板。
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.
以本案例为创意起点,修改提示词并选择模型,即可在 loveimage 生成同类视频。
视频生成仅对付费套餐开放。提示词与设置会在登录后恢复。 查看套餐
WebGPU
效果复现

Canvas
效果复现

指由 Anthropic 的 Claude Opus 5.5 编写代码(Three.js、WebGL、Canvas、Remotion 等)并渲染出的视频。与扩散式视频模型不同,它的每一帧都由程序绘制。
Claude Opus 5.5 输出的是代码,需要在浏览器或 Remotion、HyperFrames 等工具中渲染,才能得到 MP4 等视频文件。
在这里查看和复制提示词无需付费。提示词归创作者所有;复制提示词并不代表获得原视频的使用许可,请遵守原帖中的使用条款。
原作由署名创作者在 X 上发布,每个案例都链接到作者主页与原帖。“使用 Claude Opus 5.5 制作”为创作者的声明。
我们依据创作者公开分享的提示词,使用 Three.js、WebGL、Canvas 等技术编写代码并逐帧渲染。效果复现与原作分别标注,原作版权归创作者所有。
可以。在页面的生成框中修改提示词并选择视频模型,即可生成同类风格的 AI 视频;所选模型的套餐与积分规则照常适用。
科普讲解、产品发布、品牌片头、数据可视化、艺术短片和游戏风格动画。
会。我们持续收录创作者新分享的 Claude Opus 5.5 视频,并陆续补充效果复现。
视频与提示词归原作者所有。“使用 Opus 5.5 制作”为创作者的声明。loveimage 与 Anthropic 无关联。 如需移除,请联系我们.