4 ms·
Show HN: T3 – Template to build Three.js applications
- ZenoArrow 12y agoLooks promising. Just out of interest, do you think it would be easy to build a hardware accelerated 2D interface using this setup?
- eoinmurray92 12y agoLooks like it will be useful. I often make small visualisations of my work in physics with Three.js and the boilerplate time gets annoying sometimes.
- pheelicks 12y agoVery nice. Especially good job on making a nice page detailing how everything works. You might be interested in a similar boilerplate that I put together, which using Require.js to structure the application: https://github.com/felixpalmer/amd-three.js https://github.com/felixpalmer/amd-three.js One pain point that my setup solves that I haven't seen many THREE.js boilerplates tackle is the ease of writing GLSL for creating custom shaders. Here I've supplied a Require.js plugin which allows you to pull your GLSL code in as dependancies and provides some basic pre-processing like #import and modifying #defines from JavaScript.
- maurizzzio 12y agothanks! I'll see how you fixed the problem and try to add it to the boilerplate
- callumprentice 12y agoSomeone might be interested in an interactive version I made here http://callum.com/apps/threejs_app_template_interactive/index.html http://callum.com/apps/threejs_app_template_interactive/inde...
- Udo 12y agoVery cool, I'll be keeping this in mind for the next Ludum Dare! :)
- aaronbrethorst 12y agoFor anyone unfamiliar with Three.js (like I was a minute ago), it's evidently a JavaScript library for 3D graphics: https://github.com/mrdoob/three.js/ https://github.com/mrdoob/three.js/