正在自动登录…
← 返回项目列表gatewai-dev/
gatewai-dev/ framefields
Framefields 是一个面向编码代理的轻量级 npm 包,用于通过 TypeScript 代码创建合成、动态图形和 3D 场景,并直接在 WebGPU 上渲染为硬件编码的 MP4 视频。适合希望用代码驱动视频制作的开发者或 AI 代理。
AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/16 21:31:36 · 查看原文
- 累计 Stars
- 476
- 当前热度
- 未达当前门槛
- 仓库创建时间
选用指南
AI 根据 README 整理 · 2026/10/16 21:31:36
- 适用场景
适用于需要代码驱动视频生成的场景,如 AI 代理自动生成视频、程序化动态图形和 3D 场景渲染。
查看 README 依据
Framefields is built for coding agents. It packs the capabilities usually split across three desktop creative suites—Photoshop-style compositing & VFX, After Effects-style typography & motion graphics, and Blender-style 3D scenes & cameras—into a single lightweight npm package. - **Zero Headless-Browser Overhead** — No Chromium, no Puppeteer, no DOM reflows, and no screenshot pipeline. Renders directly on native GPU hardware via Dawn / WebGPU / Metal / Vulkan.
- **Deterministic & Frame-Accurate** — Discrete sample points, absolute frame clocks, and frame-accurate audio BeatGrids. No floating timers, no drift. - **Agent-First Workflow** — Your coding agent writes TypeScript, inspects rendered frame grids, and exports hardware-encoded MP4s headlessly. ### Made with framefields Every frame is rendered by framefields directly from TypeScript in [`examples/`](examples). Click a still to watch on YouTube: <table> <tr> <td width="50%" align="center">
- 使用方式
通过 npm 安装,使用 TypeScript 编写代码创建合成、图层和动画,并渲染为 MP4 文件。
查看 README 依据
npx skills add gatewai-dev/framefields ``` --- ## Installation ```bash pnpm add framefields ``` > **Requirements:** Node.js ≥ 22. Native GPU acceleration via WebGPU / Dawn (macOS Metal, Linux Vulkan, Windows D3D12). --- ## Quickstart ```typescript import { Composition, Layer, LayerAnimation } from "framefields"; // 1. Create a 1080p60 composition const comp = new Composition({ width: 1920, height: 1080, fps: 60, durationFrames: 180, // 3 seconds backgroundColor: "#090a0f", fonts: ["assets/fonts/Inter.ttf", "assets/fonts/SpaceGrotesk.ttf"], });
// 4. Render to hardware-encoded MP4 const { filePath } = await comp.renderVideo({ outputPath: "output/hero.mp4", quality: "high", }); console.log(`Rendered to: ${filePath}`); process.exit(0); ``` --- ## Documentation Everything else—including full API references, interactive tutorials, and guides—is available at [**framefields.dev/docs**](https://framefields.dev/docs): - **[Typography & Animators](https://framefields.dev/docs)** — Slug analytic vector text, After Effects-style range animators, and typewriter cadence
- 部署要求
需要 Node.js ≥ 22,以及支持 WebGPU 的 GPU(macOS Metal、Linux Vulkan、Windows D3D12)。
查看 README 依据
npx skills add gatewai-dev/framefields ``` --- ## Installation ```bash pnpm add framefields ``` > **Requirements:** Node.js ≥ 22. Native GPU acceleration via WebGPU / Dawn (macOS Metal, Linux Vulkan, Windows D3D12). --- ## Quickstart ```typescript import { Composition, Layer, LayerAnimation } from "framefields"; // 1. Create a 1080p60 composition const comp = new Composition({ width: 1920, height: 1080, fps: 60, durationFrames: 180, // 3 seconds backgroundColor: "#090a0f", fonts: ["assets/fonts/Inter.ttf", "assets/fonts/SpaceGrotesk.ttf"], });
README
正在加载 README…
收录信息
- 仓库创建时间
- 2026/10/3 04:52:53
- 首次达标收录
- 2026/10/9 12:11:18
- 统计更新时间
- 2026/10/22 19:11:11
按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。
模型评估
值得看加权总分 3.8 / 5
由 Jev 模型根据仓库描述与 README 评估,2026/10/16 20:16:48 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。
仓库信息
- 最近推送
- 2026/10/22 16:48:45
- 许可证标识
- Apache-2.0
- Fork 数
- 28
- 当前状态
- 未归档
收录记录
按创建时长与累计 Stars 首次收录:小火
首次发现项目