I find these play-with me mini-apps incredibly useful, a technique used by the author Bartosz in other articles:
https://ciechanow.ski/naval-architecture/
https://ciechanow.ski/internal-combustion-engine/
https://ciechanow.ski/cameras-and-lenses/
Bartosz if you are here (username doesn't seem like it) how long does an article like this take to make? Looking a bit deeper and seeing how there are 10k LOC just in curves.js, and the curves.js seems custom for this, I'd guesstimate 1-3 months of fulltime work.
In any case, thank you for these incredible works of art and science! I had only seen a couple before so I'll have a deep look into the others!