some more progress with prototype.
hrgdavor last edited by
Loading of folder projects works, it can handle ESM modules, cjs scripts (require) and even typescript projects. Also worker improvements that allow script developers to optimize execution when parameters change and cache expensive operations.
my new prototype is still ugly, but things are progressing bit by bit
It was my mission from the first attempt at making a new jscad prototype to allow script developers to optimize for performance and bling.
in this example I took a complex model and added caching so that model is kept in case only View Options parameters change. Those only affect rotation of the parts.
also I enhanced parameter definition to allow for live updates for any of the parameter (it is not default, but opt-in)