Help requiring webclgl

I’m trying to use thewebclgl library, but I’m not able to do it.
The examples show to use it with a browser ready file, but using:

webclgl = require("webclgl@4.0.227/dist/webclgl/WebCLGL.min.js")

gives an error.
I’ve been trying all the examples in the “How to: require stubborn modules”, but none of them work.

Does somebody know what is failing?

Maybe like this

(updated with a canvas demo copy-pasted from https://rawgit.com/stormcolor/webclgl/master/demos/gpufor_graphics/index.html)

1 Like

Yes! With all the working example! Thank you