I’ve been playing around with JavaScript lately: trying BackboneJS, developing a small project popup help, and reading good articles about ‘modern’ way to use JavaScript.
I still think ActionScript is better but there is one thing that I love most from JavaScript:
No compiling is needed!
I really really love this. You type your code (using Adobe Brackets or Notepad++), refresh your browser, and you see the result. That’s it 🙂 This allows faster workflow, you can easily try this and that and see the result immediately. With cool debugging tools from Google Chrome or Firebug on Firefox, you can check if there’s something wrong with your code on the browser.
Anyway, I’m currently trying Three.js for WebGL and so far I like it. The setup is easy, just like Away3D. Totally recommended if you’re familiar with Away3D or other 3D engine. Three.js also includes some python scripts for converting OBJ models into its on JSON-based model.
You can click the image below for my Milk Carton Boy model in WebGL using Three.js. Unfortunately, it only works if your browser support WebGL.
The source code is available on GitHub 😉
I’m trying to find a good interface to edit my WebGL and three.js… Do you like using an editor like Notepad++ or coding directly into your browser? Something else? Thanks!
Hi Mark,
I use Sublime Text. I like it because it’s simple and focus more on codes, but that’s just my preference.
You might also want to try other editors like Aptana Studio, Eclipse, Adobe Brackets (http://brackets.io/), or even Microsoft Web Matrix (http://www.microsoft.com/web/webmatrix/)
Thanks, Abiyasa!
One followup question – with an editor like Sublime Text, are there any special procedures that go into setting up WebGL and three.js, or are their libraries/contexts just called upon using basic JavaScript?