AI 原生动画引擎 • 免费软件 • 基于浏览器

The Programmable Engine for Micro-Interactions

A lightweight tool for creating animated SVG micro-interactions—designed for AI agents and humans alike. Built on Paper.js, exposing a declarative API for understanding and manipulating vector space.

研究表明,LLM 可以通过文本表示来推理矢量图形。PinePaper 为代理提供了在该空间中查看、创建和转换对象的接口。

01. 现实检验

控制优于保真度

Models like Veo, Sora, and Kling have achieved remarkable visual fidelity. They can render almost anything as pixels. But pixels are static data—you cannot easily modify a single element, interrupt a sequence mid-animation, or attach logic handlers to specific shapes after generation.

PinePaper bets on Visual Control. By exposing the vector DOM (Document Object Model), we allow AI agents to not just "dream" an image, but to structure it. This enables interruptibility, programmatic modification, and precise component reuse.

This isn't about replacing video generation—it's about filling the gap for functional micro-graphics: status indicators, data visualizations, UI components, and interactive diagrams.

The Vector Advantage

  • 1
    Readable Vector Space Agents can query positions, bounds, and relationships. The DOM is inspectable—enabling understanding, not just output.
  • 2
    Interruptibility Modify scenes mid-animation based on events. Essential for interactive dashboards and live data.
  • 3
    Micro-Signals Generate functional, lightweight components (spinners, badges, progress bars) rather than full-frame art.

02. 研究背景

追随科学

PinePaper 的方法基于关于 LLM 与矢量图形能力的新兴学术研究。这些论文表明,基于文本的矢量格式为语言模型提供了自然的接口。

These papers inform our design decisions but PinePaper is an independent project, not affiliated with any research institution.

03. 用例

从「场景」到「信号」

PinePaper isn't trying to replace Hollywood VFX tools. We optimize for the high-utility layer that LLMs can master today: Functional Micro-Interactions.

实时状态信号

「录制中」指示器、「直播」徽章或「处理中」加载器。简单的代码定义动画,无需视频文件开销即可传达系统状态。

PinePaper.create('circle', {animate: 'pulse'})

数据重点

图表的上下文感知叠加层。使用代理分析数据并以编程方式放置动画箭头、荧光笔或标注,精确定位重要位置。

PinePaper.annotate(chart, {highlight: 'Q3'})

UI 原型设计

快速生成交互式 UI 模型。由于输出基于 DOM,这些组件通常可以直接移植到生产代码中。

PinePaper.exportSVG() → React component

04. 架构

「代理交接」

Browser security sandboxes prevent external AI agents (like Claude) from directly executing code inside a running tab. We solve this with a transparent Human-in-the-Loop workflow, or via the Model Context Protocol (MCP).

1

Agent Reasons About Vector Space

The agent interprets your prompt, reasons about positions, shapes, and animations, then expresses that as code.

2

Execution Layer

You run the code (paste into console or via MCP tool) to render vector graphics locally. This keeps the tool free, secure, and client-side.

3

Iterate & Export

Refine with natural language feedback, then export as MP4, GIF, animated SVG, or PNG.

Agent Output
// Agent creates animated status indicator
const dot = PinePaper.create('circle', {
x: 200, y: 150,
radius: 12,
fill: '#22c55e'
});

PinePaper.animate(dot, {
animationType: 'pulse',
animationSpeed: 1.5
});

✓ Created: "Live Status" [ID: 492]

05. 基础

站在巨人的肩膀上

PinePaper is built on Paper.js—a mature vector graphics framework. Together, they provide the abstraction layer that lets agents understand and operate in vector space.

Paper.js

The Swiss Army Knife of Vector Graphics Scripting

Paper.js is a mature vector graphics scripting framework that evolved from Scriptographer—a scripting environment for Adobe Illustrator. It provides:

  • Vector-First Mathematics — Points, Sizes, and Rectangles as first-class citizens with operator overloading
  • Scene Graph / DOM — Nested layers, groups, paths, symbols—all inspectable and modifiable
  • Bidirectional SVG — Import, transform, animate, and export vector graphics seamlessly
  • Boolean Operations — Unite, intersect, subtract, divide shapes programmatically
paperjs.org MIT License
Why Paper.js is AI-Friendly
// Vector math reads like math
const midpoint = (pointA + pointB) / 2;
const distance = (end - start).length;

// Scene graph is inspectable
project.activeLayer.children.forEach(item => {
console.log(item.bounds);
item.position.x += 10;
});

// Boolean operations
const union = shapeA.unite(shapeB);
const cut = shapeA.subtract(shapeB);

Code that reads like geometry — agents can reason about vector space through this syntax

06. 核心原则

为开放网络构建

🚀

客户端核心

无需安装。完全在您的浏览器中运行,无需服务器往返。您的数据保留在您的设备上——架构保障隐私。

🤖

AI 原生 API

Built from the ground up to be controlled by agents. Exposes a global window.PinePaper API for programmatic generation and manipulation.

🌍

默认全球化

支持 41 种语言和所有书写系统,包括中文、阿拉伯文、印地文和表情符号。为任何受众创建内容。

🧪

我们正在测试一个假设

Can AI agents understand vector space and operate within it? The abstractions—PinePaper, Paper.js—are just the interface. The real question is whether agents can reason about positions, shapes, transformations, and timing to create meaningful visual output.

What we're validating:

  • ? Can agents reason about spatial relationships and coordinates?
  • ? Can they compose shapes, layers, and animations coherently?
  • ? Does the scene graph help them self-correct visual errors?

What works today:

  • Manual editor for text, shapes, and SVG import
  • 9 animation presets + effect system (sparkle, blast)
  • Timeline editor with keyframe animations & easing
  • MP4 & GIF export ✨ NEW
  • Animated SVG export with SMIL animations
  • Global window.PinePaper API for programmatic control

Help us validate this — try the editor and share your experience via our feedback board.

08. 常见问题

常见问题

什么是 PinePaper Studio?

一个基于浏览器的工具,用于创建动画 SVG 微交互。基于 Paper.js 构建,它暴露了一个声明式 API,设计用于 AI 代理和人类理解和操作矢量图形。

PinePaper Studio 免费吗?

是的,它是免费软件。完全在您的浏览器中运行,无需帐户。所有处理都在客户端进行——您的数据保留在您的设备上。

AI 代理可以使用 PinePaper 吗?

Yes. It exposes a global window.PinePaper object for programmatic control. We're testing whether AI can effectively understand and operate in vector space through this interface.

什么是 Paper.js?

一个成熟的开源矢量图形框架,基于 HTML5 Canvas。它为矢量图形提供场景图 (DOM)。PinePaper 作为其上的抽象层构建。

支持哪些导出格式?

MP4 video (H.264 via WebCodecs), GIF animations, animated SVG files (SMIL), and static PNG images. MP4 works best for social media; GIF is perfect for messaging apps.

有哪些动画可用?

9 个预设:脉冲、摇摆、旋转、弹跳、打字机、抖动、摇晃、果冻和滑动。时间轴编辑器提供具有 5 种缓动函数的关键帧动画。效果系统为项目添加闪光轨迹和爆炸粒子。

准备好实验了吗?

无需帐户。一切都在您的浏览器中运行。