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.

研究表明,大语言模型可以通过文本表示来理解矢量图形。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的方法基于关于大语言模型在矢量图形方面能力的新兴学术研究。这些论文表明,基于文本的矢量格式为语言模型提供了自然的接口。

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种缓动函数的关键帧动画。效果系统为项目添加闪光轨迹和爆炸粒子。

准备好实验了吗?

无需账户。一切都在浏览器中运行。