print.mjs and print-sheet.mjs
Tools · Edit, render, publish · MIT
- What it does
Prints a finished figure on paper without drawing it again: opens the built light page, plays the poses a small sheet.mjs spec lists, freezes each as vector SVG, lays them out as a one-page poster, a one-page technical drawing or a 2 to 4 page detailed explainer, and prints an A4 or Letter PDF with Chrome. The shipped PDFs run from 0.5 to 4.4 MB.
- Get it
node scripts/print.mjs examples/raptor-engine/sheet.mjs --format all --png [--letter]
- Needs
Node 20.10 or later; Chrome or Chromium (found in the usual places or through CHROME_PATH)
- License
MIT
- From