GPU.js
Hey, I think that GPU.js would be an awesome thing to add to microStudio. It would open the door for computing things at a much faster rate, then we can have more power to make more hard out games(from my understanding).
I had a go at porting it in but I had no luck.
https://github.com/gpujs/gpu.js/tree/develop
This add-on depends on 5 others.
This will be a few MB of JavaScript code.
If you need more power, use Worker.
There are two options in MicroStudio for running Worker.
- you pass the code to be executed in a string variable to the Worker.
- you pass the class to Worker and then send a set of instructions (e.g. what methods the class should execute).
I tried to port this GPU.js code to MicroStudio - but it failed (MicroStuio reports errors in the code).
Dang thats a shame. I will have a look into the Worker and see what I can make of it.
Thanks