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.
Files changed (42) hide show
  1. package/README.md +18 -18
  2. package/assets/THIRD_PARTY_LICENSES.md +10 -1
  3. package/assets/licenses/satori-NOTICES.txt +688 -0
  4. package/dist/{chunk-RWF4VBUL.js → chunk-CJOXWJQA.js} +2 -1
  5. package/dist/chunk-MAHT32CE.js +79 -0
  6. package/dist/cli.js +4 -4
  7. package/dist/index.cjs +1044 -155
  8. package/dist/index.d.cts +440 -5
  9. package/dist/index.d.ts +440 -5
  10. package/dist/index.js +1003 -129
  11. package/dist/satori.cjs +27 -0
  12. package/dist/scene-browser-assets.js +1 -1
  13. package/dist/scene-browser.js +17 -17
  14. package/dist/scene-cli.js +1 -1
  15. package/dist/scene-layout.wasm +0 -0
  16. package/dist/stage-browser/dagre.esm-6F3RIGLP.js +6 -0
  17. package/dist/stage-browser/stage.js +1 -1
  18. package/dist/stage-export.cjs +10 -2
  19. package/dist/stage-export.d.cts +11 -1
  20. package/dist/stage-export.d.ts +11 -1
  21. package/dist/stage-export.js +8 -2
  22. package/examples/_teaching/categorical-tail-loss.ts +25 -0
  23. package/examples/_teaching/teaching-byte-diff.ts +48 -0
  24. package/examples/_teaching/teaching-routed-transfer.ts +35 -0
  25. package/examples/_teaching/teaching-token-history.ts +29 -0
  26. package/examples/_teaching/teaching-weighted-vector.ts +55 -0
  27. package/examples/films/attention.ts +2 -2
  28. package/examples/films/cache-miss.ts +3 -3
  29. package/examples/films/central-limit.ts +1 -1
  30. package/examples/films/complex-maps.ts +1 -1
  31. package/examples/films/deck-example.ts +5 -5
  32. package/examples/films/euler-circle.ts +2 -2
  33. package/examples/films/fourier-epicycles.ts +15 -3
  34. package/examples/films/gradient-descent.ts +1 -1
  35. package/examples/films/linear-maps.ts +1 -1
  36. package/examples/films/lorenz.ts +1 -1
  37. package/examples/films/pythagoras.ts +3 -3
  38. package/examples/films/taylor-series.ts +2 -2
  39. package/examples/films/vizmatic-title.ts +1 -1
  40. package/package.json +4 -4
  41. package/dist/chunk-JHHPLALU.js +0 -79
  42. 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);