• The https://www.npmjs.com/package/gsap documentation in its very first sentence says:

    GSAP is a JavaScript library for creating high-performance animations that work *** in every major browser ***.

    The code runs in the browser and the node.js / Web server. Even though Espruino (-Wifi) can work as a a Web server, it is not a node.js server.

    If you implement a Web server on your Espruino-Wifi - based on https://www.espruino.com/WebServer - and implement the pulling of files according to the http(s) request request urls from the SD card, you may get something working (in your browser). You have to used the SD card because Espruno's memory is just to small to keep all the files in memory. Espruino is then the server for the resources the browser needs. Even if you get node.js basics server-side - on Espruino-Wifi - going, it just lacks the resources...

    It would be help full to explain what you want to achieve from a birds point of view.

  • Yes thank you @allObjects. I wasn't aware of 'gsap' or it being a publicly available source and at that (#2 above) time made the assumption that 'gsap'(an unusual name) was created by Coder2012 and was just having difficulty loading the module. We cleared up usage in #7 above, and @Coder2012 is aware of it's limitations.


Avatar for Robin @Robin started