RGB Matrix JavaScript / EcmaScript Standard
Posted: Mon Dec 12, 2022 8:16 pm
Hey dear community,
I have a question about the JS interpreter for the RGB matrix scripts. Seems like a subset of JS or a pretty old ES standard is being used. I've tried referencing local JSON files via import, require or fetch. The browser-based dev tool does whatever browsers do (like giving me CORS errors but Qlc+ just won't show my script anymore as soon as I use any of those.
Furthermore I'd like to use 3rd party libs like gzip within the scripts and I'm thinking of using Node and a bundler like Webpack or Vite to compile this into vanilla JS.. but that might be a little far-fetched for now. If I'd get those imports to run, that would be really great.
Does anyone know how to achieve this?
Thanks, Nik
I have a question about the JS interpreter for the RGB matrix scripts. Seems like a subset of JS or a pretty old ES standard is being used. I've tried referencing local JSON files via import, require or fetch. The browser-based dev tool does whatever browsers do (like giving me CORS errors but Qlc+ just won't show my script anymore as soon as I use any of those.
Furthermore I'd like to use 3rd party libs like gzip within the scripts and I'm thinking of using Node and a bundler like Webpack or Vite to compile this into vanilla JS.. but that might be a little far-fetched for now. If I'd get those imports to run, that would be really great.
Does anyone know how to achieve this?
Thanks, Nik