vizmatic 0.5.0 → 0.6.1
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/PROMPT.md +1 -1
- package/README.md +4 -18
- package/assets/THIRD_PARTY_LICENSES.md +14 -1
- package/assets/fonts/SourceSerif4-24pt-Italic.ttf +0 -0
- package/assets/fonts/SourceSerif4-24pt-Regular.ttf +0 -0
- package/assets/licenses/satori-NOTICES.txt +688 -0
- package/dist/{chunk-WHT6HRMX.js → chunk-5ZAFH2JC.js} +40 -10
- package/dist/{chunk-RWF4VBUL.js → chunk-CJOXWJQA.js} +2 -1
- package/dist/chunk-WUDZYTV6.js +79 -0
- package/dist/cli.js +3 -3
- package/dist/index.cjs +2 -1
- package/dist/index.d.cts +31 -4
- package/dist/index.d.ts +31 -4
- package/dist/index.js +1 -1
- package/dist/satori.cjs +27 -0
- package/dist/scene-browser-assets.js +1 -1
- package/dist/scene-browser.js +17 -17
- package/dist/scene-cli.js +1 -1
- package/dist/scene-layout.wasm +0 -0
- package/dist/stage-browser/browser.d.ts +6 -5
- package/dist/stage-browser/dagre.esm-6F3RIGLP.js +6 -0
- package/dist/stage-browser/stage.js +5 -5
- package/dist/stage-export.cjs +48 -10
- package/dist/stage-export.d.cts +11 -1
- package/dist/stage-export.d.ts +11 -1
- package/dist/stage-export.js +9 -3
- package/dist/stage.cjs +54 -10
- package/dist/stage.d.cts +6 -5
- package/dist/stage.d.ts +6 -5
- package/dist/stage.js +15 -1
- package/examples/films/attention.ts +2 -2
- package/examples/films/cache-miss.ts +3 -3
- package/examples/films/central-limit.ts +1 -1
- package/examples/films/complex-maps.ts +1 -1
- package/examples/films/deck-example.ts +5 -5
- package/examples/films/euler-circle.ts +2 -2
- package/examples/films/fourier-epicycles.ts +15 -3
- package/examples/films/gradient-descent.ts +1 -1
- package/examples/films/linear-maps.ts +1 -1
- package/examples/films/lorenz.ts +1 -1
- package/examples/films/pythagoras.ts +3 -3
- package/examples/films/taylor-series.ts +2 -2
- package/examples/films/vizmatic-title.ts +1 -1
- package/examples/videos/README.md +1 -1
- package/package.json +4 -4
- package/dist/chunk-JHHPLALU.js +0 -79
- package/dist/stage-browser/dagre.esm-N2NIVIAZ.js +0 -6
package/PROMPT.md
CHANGED
|
@@ -64,7 +64,7 @@ npx vizmatic film intro.ts --frame 3,6.5,12 --width 1280 --out stills
|
|
|
64
64
|
npx vizmatic film intro.ts --out dist/films --look midnight,paper --quality high
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
`vizmatic check` samples the moments where the film comes to rest. It reports `film.off_canvas`, `film.text_overlap`, and `film.
|
|
67
|
+
`vizmatic check` samples the moments where the film comes to rest. It reports `film.off_canvas`, `film.text_overlap`, `film.text_crossed`, and `film.missing_glyph`, each with times, a `box` in canvas pixels, and a `stage` center in authoring coordinates. Fix every error, then open the stills and look at them. `vizmatic preview intro.ts` opens a live player with a timeline for a person to review.
|
|
68
68
|
|
|
69
69
|
Motion guidance:
|
|
70
70
|
|
package/README.md
CHANGED
|
@@ -118,32 +118,18 @@ Agents can also read [`llms.txt`](https://bvolpato.github.io/vizmatic/llms.txt),
|
|
|
118
118
|
| [Roadmap](ROADMAP.md) | What shipped and what comes next |
|
|
119
119
|
| [Contributing](CONTRIBUTING.md) | Setup, checks, and the release process |
|
|
120
120
|
|
|
121
|
-
##
|
|
121
|
+
## Package installation
|
|
122
122
|
|
|
123
|
-
Vizmatic 0.
|
|
123
|
+
Vizmatic 0.6.1 bundles its tested Satori renderer and uses patched `fflate` 0.7.5. Consumer dependency overrides are no longer required.
|
|
124
124
|
|
|
125
|
-
For
|
|
126
|
-
|
|
127
|
-
```json
|
|
128
|
-
{
|
|
129
|
-
"overrides": {
|
|
130
|
-
"@xmldom/xmldom": "0.9.12",
|
|
131
|
-
"fflate": "0.7.5"
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
For pnpm 11, add these entries to the root `pnpm-workspace.yaml`. The CLI uses esbuild to compile films and frames, so allow its install script:
|
|
125
|
+
For pnpm 11, allow esbuild's install script in the root `pnpm-workspace.yaml`. The CLI uses esbuild to compile films and frames:
|
|
137
126
|
|
|
138
127
|
```yaml
|
|
139
|
-
overrides:
|
|
140
|
-
'@xmldom/xmldom': 0.9.12
|
|
141
|
-
fflate: 0.7.5
|
|
142
128
|
allowBuilds:
|
|
143
129
|
esbuild: true
|
|
144
130
|
```
|
|
145
131
|
|
|
146
|
-
Then add Vizmatic with your package manager.
|
|
132
|
+
Then add Vizmatic with your package manager.
|
|
147
133
|
|
|
148
134
|
## License
|
|
149
135
|
|
|
@@ -39,6 +39,15 @@ The raster helpers use `fast-png` 8.0.0, `iobuffer` 6.0.1, and `fflate` 0.7.5,
|
|
|
39
39
|
each under the MIT License. Their full notices are in
|
|
40
40
|
[`licenses/raster-codecs-MIT.txt`](licenses/raster-codecs-MIT.txt).
|
|
41
41
|
|
|
42
|
+
## Figure layout renderer
|
|
43
|
+
|
|
44
|
+
The package bundles Satori 0.41.0 and its layout WASM under MPL-2.0.
|
|
45
|
+
The unmodified source is available at
|
|
46
|
+
https://github.com/vercel/satori/tree/a7e9338e15fec771b7e2cfb90df737789104edeb.
|
|
47
|
+
Its bundled dependencies retain their MIT and ISC licenses. Full licenses and
|
|
48
|
+
upstream notices are in [`licenses/satori-NOTICES.txt`](licenses/satori-NOTICES.txt).
|
|
49
|
+
Satori uses the package's patched `fflate` 0.7.5 dependency.
|
|
50
|
+
|
|
42
51
|
## Fonts
|
|
43
52
|
|
|
44
53
|
- Inter: SIL Open Font License 1.1.
|
|
@@ -50,6 +59,10 @@ each under the MIT License. Their full notices are in
|
|
|
50
59
|
- Instrument Serif: SIL Open Font License 1.1.
|
|
51
60
|
Copyright 2022 The Instrument Serif Project Authors.
|
|
52
61
|
Source: https://github.com/Instrument/instrument-serif
|
|
62
|
+
- Source Serif 4: SIL Open Font License 1.1.
|
|
63
|
+
Copyright 2014 The Source Serif 4 Project Authors.
|
|
64
|
+
Source: https://github.com/adobe-fonts/source-serif
|
|
65
|
+
`SourceSerif4-24pt-Regular.ttf` and `SourceSerif4-24pt-Italic.ttf` are static cuts of the variable fonts at optical size 24. `scripts/build-stage-fonts.py` makes them.
|
|
53
66
|
- Noto Sans: SIL Open Font License 1.1.
|
|
54
67
|
Copyright Google Inc.
|
|
55
68
|
Source: https://github.com/notofonts/noto-fonts
|
|
@@ -59,7 +72,7 @@ each under the MIT License. Their full notices are in
|
|
|
59
72
|
|
|
60
73
|
Full license: [`licenses/OFL-1.1.txt`](licenses/OFL-1.1.txt).
|
|
61
74
|
|
|
62
|
-
The website uses WOFF2 copies of the same Inter, JetBrains Mono, and
|
|
75
|
+
The website uses WOFF2 copies of the same Inter, JetBrains Mono, and Source Serif 4 font files.
|
|
63
76
|
Regenerate them with `pnpm site:fonts`; the original font licenses apply.
|
|
64
77
|
|
|
65
78
|
## Emoji
|
|
Binary file
|
|
Binary file
|