Answer the question
In order to leave comments, you need to log in
What is 3D animation done in JS?
I saw a complex layout. There, the cubes are made in 3D, they rotate in different directions, when you move the mouse along the cube, it collides with other cubes and interacts with them, the cubes scatter in different directions, rotate. How is this kind of physics done in JS?
Answer the question
In order to leave comments, you need to log in
three.js and so on are just libraries / frameworks for the convenience of working with WebGL , so the question "How such physics is done in JS" would be more correct to answer WebGL. And if you want to understand exactly how and what works there, then start with WebGL. And what exactly was done in your case, then this is most likely three.js.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question