five-on-it / apps/worker/src/render-previews
apps/worker/src/render-previews
npm run level:previews [-- <level>…]: renders the bundled levels' previews in headless Blender (renderPreview) into apps/worker/previews/<level>.png, every level or the ones named, and removes the preview of a level that is gone. A build of a game on a bundled level stores its level's preview from there; run it again after changing or adding a level, and commit the pictures with the level.