I did for a colleague in technical high school a simulation of a machining: https://cospac.es/edu/15lT
Code with Blockly:
Would there be a solution, including in JavaScript, to simulate the gradual removal of material, ie a gradual change of form (but not a simple progressive change in opacity)?