Puting a scene in a canvas secene

well, I want to put my animation in a scene like if it was a frame where the user can interact with it like in this example but the code is really hard to me understand and I don’t want to create a lot of scenes, just one, could somebody help me C:

If you’re feeling overwhelmed by reading the sample code, you might want to consider taking some tutorials first to get a solid baseline understanding of how Three.js works. Then you can come back and start your project. I recommend you start with the tutorials on this page:



yes, and thanks for the tutorial