three.js within react-juce #262
Replies: 1 comment 1 reply
-
Hi @chikashimiyama great question, and thank you! It's unlikely that threejs will work with React-juce without some significant effort. My understanding is that threejs has a pretty large dependency on the DOM and Web APIs like webgl, and since react-juce runs in just an embedded js interpreter, there is no support for Web APIs like that. I could imagine that the best path here would be to try to use something like Three.js's built-in SVG renderer:
But you can see even in that example, the SVGRenderer itself has a If you're interested in digging into this, I'd be curious to hear what you find! |
Beta Was this translation helpful? Give feedback.
-
Hi. First of all, thank you for the great library. react-juce could make the collaboration between devs and designers much easier!
My question is about three.js
https://threejs.org/
I would like to use three.js on react-juce for my 3D audio visualizer based on WebGL. Would it be technically possible?
I just quickly tried by myself and got a syntax error when I just import three.js to App.js ...
Beta Was this translation helpful? Give feedback.
All reactions