@smoove/core 0.1.1 → 0.1.3
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 +16 -16
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
# @smoove/core
|
|
2
2
|
|
|
3
|
-
A timeline-driven animation engine for [Konva](https://konvajs.org)
|
|
4
|
-
|
|
5
|
-
server.
|
|
3
|
+
A timeline-driven animation engine for [Konva](https://konvajs.org).
|
|
4
|
+
Keyframe motion that runs anywhere: buttery in the browser, headless on
|
|
5
|
+
the server.
|
|
6
6
|
|
|
7
7
|
A **Composition** is a `Konva.Stage` that owns a frame clock (fps +
|
|
8
8
|
duration). A **Sequence** is a `Konva.Layer` scoped to a frame range: its
|
|
9
|
-
updaters run and its layer paints only while the playhead is in range.
|
|
10
|
-
engine
|
|
11
|
-
|
|
12
|
-
rendering.
|
|
9
|
+
updaters run and its layer paints only while the playhead is in range.
|
|
10
|
+
The engine doesn't care where it runs. In the browser, `play()` drives a
|
|
11
|
+
`requestAnimationFrame` loop. On the server, you step frames manually with
|
|
12
|
+
`setFrame(n)` for offline rendering.
|
|
13
13
|
|
|
14
14
|
Core also ships a built-in flexbox layout system (`Flex`, `Block`), a
|
|
15
|
-
rich `Text` node, `Image`/`Video`/`Audio` media nodes, `interpolate`
|
|
15
|
+
rich `Text` node, `Image`/`Video`/`Audio` media nodes, `interpolate` and
|
|
16
16
|
`Easing` animation helpers, and a flex-aware wrapper for every Konva shape
|
|
17
|
-
(`Rect`, `Circle`, `Star`,
|
|
18
|
-
vocabulary from one place.
|
|
17
|
+
(`Rect`, `Circle`, `Star`, and the rest), so an app imports its whole
|
|
18
|
+
drawing vocabulary from one place.
|
|
19
19
|
|
|
20
20
|
## Install
|
|
21
21
|
|
|
@@ -66,12 +66,12 @@ wipes, and WebGL shader transitions via
|
|
|
66
66
|
|
|
67
67
|
## Ecosystem
|
|
68
68
|
|
|
69
|
-
- [`@smoove/player`](https://www.npmjs.com/package/@smoove/player)
|
|
70
|
-
- [`@smoove/transitions`](https://www.npmjs.com/package/@smoove/transitions)
|
|
71
|
-
- [`@smoove/renderer`](https://www.npmjs.com/package/@smoove/renderer)
|
|
72
|
-
- [`@smoove/studio`](https://www.npmjs.com/package/@smoove/studio)
|
|
73
|
-
- [`@smoove/google-fonts`](https://www.npmjs.com/package/@smoove/google-fonts)
|
|
74
|
-
- [`@smoove/vite`](https://www.npmjs.com/package/@smoove/vite)
|
|
69
|
+
- [`@smoove/player`](https://www.npmjs.com/package/@smoove/player): the `<smoove-player>` web component, with controls
|
|
70
|
+
- [`@smoove/transitions`](https://www.npmjs.com/package/@smoove/transitions): `TransitionSeries` scene transitions, from cross-fades to shader effects
|
|
71
|
+
- [`@smoove/renderer`](https://www.npmjs.com/package/@smoove/renderer): headless Node video renderer (skia-canvas + Mediabunny)
|
|
72
|
+
- [`@smoove/studio`](https://www.npmjs.com/package/@smoove/studio): composable React studio UI
|
|
73
|
+
- [`@smoove/google-fonts`](https://www.npmjs.com/package/@smoove/google-fonts): typed, tree-shakeable Google Fonts
|
|
74
|
+
- [`@smoove/vite`](https://www.npmjs.com/package/@smoove/vite): Vite plugin for studio hot-reload and renderable media imports
|
|
75
75
|
|
|
76
76
|
## Docs
|
|
77
77
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smoove/core",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "A timeline-driven animation engine for Konva. Runs in the browser or on the server and renders to any target.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|