Back to AI game news
AI game news

game-vfx turns Seedance clips into 64-frame real-time spells for three.js

By GameSlash

Rehan Sheikh released a Claude Code skill with six playable spells and twelve CC0 flipbooks, combining Seedance video and engine-driven sparks, lights and impact effects.

On November 21, 2026, Rehan Sheikh published game-vfx on Patch: an open-source Claude Code skill that combines AI-generated video with real-time three.js code to build layered spell effects. The project ships a live arena demo, six spells, and twelve flipbook textures. The creator's announcement and the project's November 21 commit establish the new release; this is not a claim that GameSlash independently benchmarked the runtime.

Inferno spell running in the game-vfx three.js arena: fire pillar and glowing circular runes
Image: Rehan Sheikh / game-vfx on Patch — original live demo capture. Project art is CC0, as stated in the creator's credits.

Why video alone is not the effect

The workflow separates organic motion from engine-controlled behavior. Seedance 2.5 generates the hard-to-draw elements, such as fire, smoke and bursts, one at a time against pure black. The agent then writes sparks, lightning, rings, decals, ribbons, lights and camera shake in code. That gives developers control of timing, position and gameplay triggers instead of playing one finished video over the scene.

Five steps from a clip to a working spell

First, set the charge, release, travel, impact and aftermath timing. Optionally generate a reference video of the spell in a game screenshot for visual direction, but do not ship that reference. Then make separate element clips on black, with each element centered and fully visible. The supplied make_flipbook.py script selects active frames, crops the shot, converts black to alpha and packs 64 frames into an 8×8 sheet. Finally, compose those textures using the provided three.js runtime and compare the playable effect against the reference.

Meteor spell hitting the arena in the game-vfx official demo
Image: Rehan Sheikh / Patch — official meteor example from game-vfx (CC0 project art).

What is ready to use, and what still costs money

The repository includes a minimal integration example, twelve existing flipbooks, and six spells: meteor, fireball, chain lightning, inferno, frost and arcane vortex. Those bundled assets can be tried without generating new Seedance clips. Creating fresh clips requires Python with numpy and Pillow, ffmpeg, a fal.ai key and the relevant video generation credits. The creator lists roughly US$1.90 per element clip and US$2.40 per reference pattern (720p); these are project estimates, not prices checked independently by GameSlash.

Chain lightning connecting targets in the official game-vfx example
Image: Rehan Sheikh / Patch — official chain-lightning example; original project art credited CC0.

A performance trade-off to plan for

In a reply to the announcement, Sheikh says the full set of twelve WebP flipbooks is about 24 MB to download but expands to roughly 256 MB of graphics memory on load. The useful production lesson is to ship only the textures a level actually needs and budget GPU memory for decoded 2048-pixel sheets. The published project does not yet claim a compressed-texture alternative.

Try the live arena and download the skill at game-vfx on Patch. The project labels its code MIT and art CC0; source-level credits for third-party objects and animations remain listed alongside the demo.

View source