API map
Core workflow​
import { render } from "veena";
import { Scene, Tattva, Timeline, clip, timeline } from "veena/core";
Use Scene to author, Tattva to extend, Timeline/Clip to animate, and render() to preview or export.
Package entry points​
| Import | Representative APIs |
|---|---|
veena/core | Scene, Tattva, Timeline, clip, timeline, Camera3D, SceneView, fontFile, imageFile |
veena/style | themes, createTheme, themeColor, palette |
veena/layout | Group, HStack, VStack |
veena/primitives | Shapes, Path, Line, Arrow, ShapeMorph, Prop3D |
veena/text | Label, MathText, Latex, morphs, CodeBlock, Text3D |
veena/maths | Graphs, matrices, equations, linear algebra, fields, curves, surfaces, fractals, maps, Fourier |
veena/ai | Neural networks, semantic tensors, attention, transformers, context, sampling |
veena/storytelling | Stepwise, ChatInput, Opening, Newspaper, NewspaperOpening, Fireworks |
veena/composite | VeenaLogoMark, VeenaLogoSequence, VeenaLogoSwell, WaveMesh, YouTubeSubscribe |
veena/table | Table |
veena/utility | TracedPath |
veena/adapters | CanvasTattva, Canvas3DTattva, ReactTattva, ThreeTattva, useVeenaTheme |
veena/render | render, renderScene, render/capture types |
The root veena export remains available for compatibility. Prefer category imports in new code.
Reading this documentation​
- Start with Scenes and tattvas and Animations and timelines.
- Browse the Tattva catalog for visual APIs.
- Use the Example gallery for executable compositions.
- Read Determinism and rendering architecture when extending the engine.