API map
Core workflow​
import { render } from "murali-js";
import { Scene, Tattva, Timeline, clip, timeline } from "murali-js/core";
Use Scene to author, Tattva to extend, Timeline/Clip to animate, and render() to preview or export.
Package entry points​
| Import | Representative APIs |
|---|---|
murali-js/core | Scene, Tattva, Timeline, clip, timeline, Camera3D, SceneView, fontFile, imageFile |
murali-js/style | themes, createTheme, themeColor, palette |
murali-js/layout | Group, HStack, VStack |
murali-js/primitives | Shapes, Path, Line, Arrow, ShapeMorph, Prop3D |
murali-js/text | Label, MathText, Latex, morphs, CodeBlock, Text3D |
murali-js/maths | Graphs, matrices, equations, linear algebra, fields, curves, surfaces, fractals, maps, Fourier |
murali-js/ai | Neural networks, semantic tensors, attention, transformers, context, sampling |
murali-js/storytelling | Stepwise, ChatInput, Opening, Newspaper, NewspaperOpening, Fireworks |
murali-js/composite | MuraliLogoMark, MuraliLogoSequence, MuraliLogoSwell, WaveMesh, YouTubeSubscribe |
murali-js/table | Table |
murali-js/utility | TracedPath |
murali-js/adapters | CanvasTattva, Canvas3DTattva, ReactTattva, ThreeTattva, useMuraliTheme |
murali-js/render | render, renderScene, render/capture types |
The root murali-js 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.