@clypra-studio/engine 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,57 +1,31 @@
1
1
  # @clypra-studio/engine
2
2
 
3
- The rendering and animation engine powering [Clypra Studio](https://github.com/AIEraDev/clypra-studio) — a high-performance Canvas 2D text effects system with GPU-accelerated PixiJS video effects, full Lottie JSON tooling, keyframe animation, and CapCut-style timeline capabilities.
3
+ Core effect registry, Canvas 2D text layout engine, Lottie JSON tooling, video/body effects, transitions, and smart overlays.
4
4
 
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install @clypra-studio/engine
9
- # or
10
8
  pnpm add @clypra-studio/engine
11
- # or
12
- yarn add @clypra-studio/engine
13
9
  ```
14
10
 
11
+ ## Features & Subsystems
12
+
13
+ - 🔤 **Text Layout & Effects**: Canvas 2D per-character fill, typography layout, text effects recipes, and animatable parameters.
14
+ - 🎨 **Lottie JSON Tooling**: Full Lottie parser, injector, text style editor, template presets, Google Fonts integration, and Lottie export.
15
+ - 📽️ **Video & Body Effects**: Built-in video filters, green screen chroma keying, body segmentation masks, and effect definitions.
16
+ - 🔀 **Transitions**: Dual-input temporal transition renderers and definitions.
17
+ - 🖌️ **Procedural Engines**: Procedural `InkBrushEngine` and canvas rasterization utilities.
18
+ - 🖼️ **Smart Overlays**: Declarative canvas templates, keyframe presets, and overlay document renderer.
19
+ - ⚡ **Pipeline V2**: Media processing graph node registry, frame graph builder, and `MPGFrameRenderer`.
20
+
15
21
  ## Usage
16
22
 
17
23
  ```typescript
18
24
  import { EffectRenderer } from "@clypra-studio/engine";
19
- import { TransitionRenderer } from "@clypra-studio/engine/transitions";
20
- import { TextEffectConfig } from "@clypra-studio/engine/textEffects";
21
- import { PixiRenderBackend } from "@clypra-studio/engine/v2/backends";
22
-
23
- // Create an effect renderer
24
- const renderer = new EffectRenderer(canvas, effect);
25
-
26
- // Render a frame
27
- await renderer.render(frame);
25
+ import { InkBrushEngine } from "@clypra-studio/engine";
26
+ import { TemplateRenderer } from "@clypra-studio/engine";
28
27
  ```
29
28
 
30
- ## Features
31
-
32
- - ✅ **Text Effects** - Canvas 2D text rendering with advanced effects
33
- - ✅ **Video Effects** - GPU-accelerated effects using PixiJS
34
- - ✅ **Transitions** - Professional transition effects
35
- - ✅ **Lottie Support** - Full Lottie JSON animation tooling
36
- - ✅ **Keyframe Animation** - Timeline-based animation system
37
- - ✅ **Render Backends** - Pixi.js GPU rendering support
38
-
39
- ## Entry Points
40
-
41
- - **`@clypra-studio/engine`** - Main engine exports
42
- - **`@clypra-studio/engine/transitions`** - Transition effects
43
- - **`@clypra-studio/engine/videoEffects`** - Video effect definitions
44
- - **`@clypra-studio/engine/textEffects`** - Text effect system
45
- - **`@clypra-studio/engine/v2/backends`** - Rendering backends
46
- - **`@clypra-studio/engine/v2/contract`** - V2 API contracts
47
-
48
29
  ## License
49
30
 
50
31
  MIT
51
-
52
- ## Links
53
-
54
- - [GitHub Repository](https://github.com/AIEraDev/clypra-studio)
55
- - [Documentation](https://github.com/AIEraDev/clypra-studio/tree/main/packages/clypra-engine#readme)
56
- - [Report Issues](https://github.com/AIEraDev/clypra-studio/issues)
57
- - [npm Package](https://www.npmjs.com/package/@clypra-studio/engine)
@@ -136,4 +136,4 @@ declare class PixiRenderBackend implements RenderBackend {
136
136
  destroy(): void;
137
137
  }
138
138
 
139
- export { type CommandBuffer as C, type DependencyGraph as D, type ExecutionPolicy as E, type FrameGraph as F, PixiRenderBackend as P, type RenderBackend as R, type Command as a, type ExecutionQuality as b, type PlaybackDirection as c, type PlaybackMode as d, type RenderPass as e, type ResourceRequest as f };
139
+ export { type CommandBuffer as C, type DependencyGraph as D, type ExecutionPolicy as E, type FrameGraph as F, PixiRenderBackend as P, type RenderBackend as R, type ExecutionQuality as a, type PlaybackDirection as b, type PlaybackMode as c, type RenderPass as d, type ResourceRequest as e, type Command as f };
@@ -136,4 +136,4 @@ declare class PixiRenderBackend implements RenderBackend {
136
136
  destroy(): void;
137
137
  }
138
138
 
139
- export { type CommandBuffer as C, type DependencyGraph as D, type ExecutionPolicy as E, type FrameGraph as F, PixiRenderBackend as P, type RenderBackend as R, type Command as a, type ExecutionQuality as b, type PlaybackDirection as c, type PlaybackMode as d, type RenderPass as e, type ResourceRequest as f };
139
+ export { type CommandBuffer as C, type DependencyGraph as D, type ExecutionPolicy as E, type FrameGraph as F, PixiRenderBackend as P, type RenderBackend as R, type ExecutionQuality as a, type PlaybackDirection as b, type PlaybackMode as c, type RenderPass as d, type ResourceRequest as e, type Command as f };