Skip to content
Swizec Teller - a geek with a hatswizec.com

Cool thing thursday: in-browser 3D modeling with live preview

Last night I went to the first ever github drinkup in Ljubljana. Very fun, but I was left with a lot of thinking time today.

After a lot of wandering my thoughts ended up on the World Wide Wasteland article I wrote for Zemanta a few weeks ago. A realization hit me - I suck at linking! Sure I try my best to cite sources, but there isn't nearly enough walking up to people and pointing them in an interesting direction.

So I'm going to start posting one cool thing every week.

That said, here's a cool thing I discovered some time ago: http://mrdoob.com/projects/code-editor/

Mr Doob's code editor

Essentially, it's a code editor complete with syntax highlighting, but it also executes everything you type up and renders it right on top of the editor itself. This allows you to play around with the parameters for those three.js functions and immediately see what happens to the 3D model.

Yeah, I know other live editor thingies exist for javascript+html, but so far this is the only one that doesn't eat up all my CPU and become useless after more than 20 lines of code.

And I love that in an editor.

Enhanced by Zemanta

Did you enjoy this article?

Published on September 20th, 2012 in 3D modeling, Editors, JavaScript, Source code editor, Three.js, Uncategorized

Learned something new?
Want to become a high value JavaScript expert?

Here's how it works 👇

Leave your email and I'll send you an Interactive Modern JavaScript Cheatsheet 📖right away. After that you'll get thoughtfully written emails every week about React, JavaScript, and your career. Lessons learned over my 20 years in the industry working with companies ranging from tiny startups to Fortune5 behemoths.

Start with an interactive cheatsheet 📖

Then get thoughtful letters 💌 on mindsets, tactics, and technical skills for your career.

"Man, love your simple writing! Yours is the only email I open from marketers and only blog that I give a fuck to read & scroll till the end. And wow always take away lessons with me. Inspiring! And very relatable. 👌"

~ Ashish Kumar

Join over 10,000 engineers just like you already improving their JS careers with my letters, workshops, courses, and talks. ✌️

Have a burning question that you think I can answer? I don't have all of the answers, but I have some! Hit me up on twitter or book a 30min ama for in-depth help.

Ready to Stop copy pasting D3 examples and create data visualizations of your own?  Learn how to build scalable dataviz components your whole team can understand with React for Data Visualization

Curious about Serverless and the modern backend? Check out Serverless Handbook, modern backend for the frontend engineer.

Ready to learn how it all fits together and build a modern webapp from scratch? Learn how to launch a webapp and make your first 💰 on the side with ServerlessReact.Dev

Want to brush up on your modern JavaScript syntax? Check out my interactive cheatsheet: es6cheatsheet.com

By the way, just in case no one has told you it yet today: I love and appreciate you for who you are ❤️