using TweenLite

Posted on
  • I read on the GSAP ( forum that a user was able to install TweenLite onto their Espruino. I tried and it looks like I'm getting an out of memory issue. The size of the library is 28kb. Am I missing something?


    • JoHN
  • From your other posts it looks like you got this working in the end?

    While you should be able to get 28k of code into something like Puck.js, it also depends how that code is written. If it says 'new Uint8Array(100000)' somewhere then obviously it'll still run out of memory - most code written for the web browser doesn't even start to think about RAM usage - it's just the size of the minified JS.

    There are other issues too (some of which are covered in, but using 'save on send' will probably make sure you can get the module into the device itself - it's then just whether it'll execute or not!

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

using TweenLite

Posted by Avatar for user90787 @user90787