You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I love the visuals, thanks for making it!
I come from Vue community and would love to use them in as Vue components like Slidev.
I scanned through the code, and it seems most of the components are WebGL on a single DOM element - which doesn't have to be React-specific. I wonder if you are interested in refactoring them out as a framework-agnostic version, for example:
// Name and interface can be discussedexportfunctioncreateOpulentoCanvas(options){constrenderer=newRenderer();constgl=renderer.gl;gl.clearColor(1,1,1,1);// ...returngl.canvas}
And expose the core and framework wrappers as sub-modules like:
// Agnostic coreimport{createOpulentoCanvas}from'uvcanvas'// React component (same as current)import{Opulento}from'uvcanvas/react'// Potentially other framework wrappers like:import{Opulento}from'uvcanvas/vue'
If that end up happening, I'd be happy to contribute the Vue wrappers :)
Thanks
The text was updated successfully, but these errors were encountered:
First of all, I love the visuals, thanks for making it!
I come from Vue community and would love to use them in as Vue components like Slidev.
I scanned through the code, and it seems most of the components are WebGL on a single DOM element - which doesn't have to be React-specific. I wonder if you are interested in refactoring them out as a framework-agnostic version, for example:
And expose the core and framework wrappers as sub-modules like:
If that end up happening, I'd be happy to contribute the Vue wrappers :)
Thanks
The text was updated successfully, but these errors were encountered: