// A belt feeding an upward screw: sand underneath a deep heap of copper ore. // Run clear-sky.js first, e.g. // python3 tools/shot.py /tmp/belt-heap.png --setup tools/scenes/clear-sky.js --js "$(cat tools/scenes/belt-heap.js)" --ticks 240 --zoom 7 const bx = BX + 6, by = BY; for (let x = bx; x < bx + 12; x++) placeBlock(BP_BELT, 1, x, by, true); for (let y = by - 10; y <= by; y++) placeBlock(BP_SCREW, 0, bx + 12, y, true); for (let y = by * 4 - 30; y < by * 4; y++) for (let x = (bx + 2) * 4; x < (bx + 10) * 4; x++) setCell(y * W + x, y >= by * 4 - 6 ? SAND : CUORE, AMB[y], 0); window.CAM = [(bx + 7) * 4, (by - 5) * 4];