scenejs-render
scenejs-render copied to clipboard
How I can render using react js/next js?
I have next js project I want to render mp4 from my dynamic scene creator using scenejs. This is really an awesome library to use, is there any way to do so please.
It is possible, but it is possible only by declaring the scene as a global variable.
It is possible, but it is possible only by declaring the scene as a global variable.
Is there any example I can expect please? Also is it possible to get the capture only a div instead of the url?
@brandonSeattle I think I need to make sure that only that area is captured. Still preparing.
And in react, you can use it as follows.
useEffect(() => {
const scene = new Scene(...);
window.scene = scene;
}, []);