Object Oriented THREE.js? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Object Oriented THREE.js?

I successfully imported and setup THREE.js, but the moment I used objects, the canvas glitched out. I've already asked this question but got no answer. Please help. https://code.sololearn.com/W657UCYw3Fm8/?ref=app

30th Jun 2020, 8:02 AM
Clueless Coder
Clueless Coder - avatar
4 Answers
+ 3
Awesome work Clueless Coder
30th Jun 2020, 8:04 AM
Samuel
Samuel - avatar
+ 3
Wow great work Mirielle
30th Jun 2020, 10:22 AM
Samuel
Samuel - avatar
+ 1
Mirielle You can see the cube constantly overlaps each time it loops. While in this code it doesn't. https://code.sololearn.com/WgWC63T6wu5y/?ref=app I'm trying draw shapes using objects, it works the long way, but using objects causes the overlap
30th Jun 2020, 9:44 AM
Clueless Coder
Clueless Coder - avatar
0
Sami😊 Thanks. Although I got excited for a moment thinking someone answered my question 😔. It's been unanswered for ages.
30th Jun 2020, 9:03 AM
Clueless Coder
Clueless Coder - avatar