vizmatic 0.6.0 → 0.7.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 +18 -18
- package/assets/THIRD_PARTY_LICENSES.md +10 -1
- package/assets/licenses/satori-NOTICES.txt +688 -0
- package/dist/{chunk-RWF4VBUL.js → chunk-CJOXWJQA.js} +2 -1
- package/dist/chunk-MAHT32CE.js +79 -0
- package/dist/cli.js +4 -4
- package/dist/index.cjs +1044 -155
- package/dist/index.d.cts +440 -5
- package/dist/index.d.ts +440 -5
- package/dist/index.js +1003 -129
- 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/dagre.esm-6F3RIGLP.js +6 -0
- package/dist/stage-browser/stage.js +1 -1
- package/dist/stage-export.cjs +10 -2
- package/dist/stage-export.d.cts +11 -1
- package/dist/stage-export.d.ts +11 -1
- package/dist/stage-export.js +8 -2
- package/examples/_teaching/categorical-tail-loss.ts +25 -0
- package/examples/_teaching/teaching-byte-diff.ts +48 -0
- package/examples/_teaching/teaching-routed-transfer.ts +35 -0
- package/examples/_teaching/teaching-token-history.ts +29 -0
- package/examples/_teaching/teaching-weighted-vector.ts +55 -0
- 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/package.json +4 -4
- package/dist/chunk-JHHPLALU.js +0 -79
- package/dist/stage-browser/dagre.esm-N2NIVIAZ.js +0 -6
|
@@ -302,7 +302,7 @@ async function withRenderContext(context, render) {
|
|
|
302
302
|
}
|
|
303
303
|
|
|
304
304
|
// src/satori.ts
|
|
305
|
-
import * as satoriModule from "satori";
|
|
305
|
+
import * as satoriModule from "./satori.cjs";
|
|
306
306
|
|
|
307
307
|
// src/canvas-chart-fit.ts
|
|
308
308
|
import React2, { isValidElement } from "react";
|
|
@@ -1669,6 +1669,7 @@ async function renderRgbaVideo(renderFrame, options) {
|
|
|
1669
1669
|
} else {
|
|
1670
1670
|
args.push("-c:v", "libx264", "-preset", preset);
|
|
1671
1671
|
if (options.tune) args.push("-tune", options.tune);
|
|
1672
|
+
if (options.tune === "animation" || /slow|placebo/.test(preset)) args.push("-refs", "4");
|
|
1672
1673
|
args.push("-crf", String(crf), "-threads:v", String(threads));
|
|
1673
1674
|
}
|
|
1674
1675
|
args.push("-pix_fmt", "yuv420p", ...COLOR_TAGS);
|