Blacksmith in JavaScript
The same cadaclysm_blacksmith.js the SDK ships for Node.js, running in your browser over the WebAssembly build of the library. Shift+Enter runs a cell, Tab completes from the live namespace; the last expression, if it is a solid, a profile or an assembly, is drawn, and so is anything passed to show(); a profile is drawn as its outline, on the XY plane, and an assembly as everything placed in it, each part at its placement. A last expression that is an array of them draws them all in one view, as show(...items) would. A top-level const or let is shared with the cells after it. solid.coloured("#c8a060") is the solid coloured, solid.coloured(colour, i) one face of it, and what is made from it keeps the colours; part.step("plate.stp") offers the file to save. A cell may be TypeScript: annotations, interfaces and enums are stripped before it runs, not checked. Save document writes every solid, sheet and profile the views show -- the last run of each cell, in cell order, each under its show(..., { part: "name" }) or its variable's name -- as a blacksmith document (.json), the one format every app on this site opens; notebook.document() is the same Document in a cell, and Open a file… takes a document back, drawing its results. Copy the script and it runs unchanged under Node next to the library (a TypeScript one under Node 22 with --experimental-strip-types). The menu holds more notebooks: sweeps and coils, revolves and lofts, shells, booleans, frames, a SubD cage fired into a solid, and one in TypeScript.
This page needs WebGL2 or WebGPU, OffscreenCanvas, module workers and WebAssembly. The forge may still work here.