Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Nick Pettit
STAFF
Nick Pettit
Treehouse Teacher

The Beginner's Guide to three.js

Hey everyone,

I thought you might like this beginners guide to three.js that I wrote for the Treehouse blog.

the Treehouse logo in 3D

If you're using the desktop version of Chrome or Firefox you can see the demo of the Treehouse logo in 3D. With a bit more configuration, you can also see it in the desktop version of Safari (which I describe in the article).

WebGL and three.js are pretty cool! I'm still learning how to use them and figuring out some practical use cases.

6 Answers

Sweet, thanks Nick!!

Marcus Tisäter
Marcus Tisäter
4,886 Points

Great work Nick! I will take a look at this for sure

Mike Morales
Mike Morales
19,833 Points

Thanks Nick, Will check it out soon!

Sean T. Unwin
Sean T. Unwin
28,690 Points

Great introduction, Nick. Nice tutorial and thanks.

Wow, this is gold. Thank's Nick.

Hello,

I just attempted to to do this tutorial by downloading the latest buildof threeJS from their githib. I kept getting an error with OrbitControls.js (at line 114 - function is undefined) no matter what I did i couldn't get it to work, then I wondered if there might have been some updates to3js that made this not work so I downloaded the code straight from the page and used the older version of OrbitControls.js and it worked, I then tried to see what the differences where but there were several lines of code changed. Could anyone give me a hint as to what was changed and how to make this tutorial work with the latest build of three.js?

overall a really awesome tutorial thanks Nick

http://www.diffchecker.com/xqm17fop - the difference between the newer and older orbitcontrols