Tip Of AI
Discover what you can do with AI
framefields is a GPU-accelerated engine that enables coding agents to generate video files and edit images directly from TypeScript code. It integrates a WebGPU pipeline into an npm package, avoiding headless browsers or desktop apps. The package supports motion graphics, compositing, 3D rendering, typography, charts and audio synchronization. The engine drives crisp typography using per-pixel outline rendering, motion graphics with After Effects style selectors, and letter by letter animation timing. It offers physically based 3D rendering with materials, image based lighting, shadows, bloom and ambient occlusion, and imports models in OBJ, FBX, glTF, STL, PLY and VOX formats. Image editing features include curves, levels, selective color, 3D LUTs, halftone, film grain, liquify, mesh warp, transitions and Media.image APIs for full GPU image processing. Audio layers synchronize with frames for procedural sound effects on a beat grid. Additional capabilities include live WebGPU previews with frame scrubbing and pinned notes, ONNX based vision models for detection, segmentation and pose mattes, and programmable tests with Vitest for pixel assertions and frame grid renders. Performance benchmarks demonstrate 255 frames at 1920×1080 rendered in 2.6 seconds on an Apple M1 Pro. framefields is open source under Apache-2.0 and is currently at version 2.2 in beta.