hn.today

Gitframes

github.com56 points34 comments
Screenshot of Gitframes

Gitframes is a code-first video engine packaged as an npm library that lets agents and developers write TypeScript compositions to generate frame-accurate video without a browser. It combines Photoshop-level compositing, After Effects-style keyframing and typography, and Blender-style 3D scene/mesh support into a single lightweight runtime that renders directly to GPU via Dawn/WebGPU and hardware encodes to MP4. Designed for automated workflows, it offers deterministic frame clocks, headless CI/CD friendliness, examples that render entire films from code, and an agent-friendly install path. It is in beta and optimized for serverless GPU workers with a small memory footprint compared with Chromium-based approaches.

The implementation emphasizes native GPU techniques and precise typography: an analytic SLUG GPU pipeline evaluates Bézier glyphs in WGSL for resolution-independent type, and a library of 50+ modular WebGPU shaders provides Photoshop-grade tonal and spatial VFX. A unified 2D/3D scene graph supports cameras, multiplane rigs and common mesh formats, while a built-in audio DSP supplies procedural SFX and reactive signals. On-device ONNX vision (object masks, pose, person mattes) feeds animation, and headless testing tools (FrameGrid, pixel-invariant assertions) enable reliable CI. Architectural comparisons show much higher throughput (60-120+ FPS) and lower memory (~200-400 MB) versus Chromium/DOM or canvas-based systems.

Read on github.com34 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.