Motivations faster way start a clean project. avoids repetitive tasks, following DRY principles. includes all those good practices Thus you wont forget. inpired by html5 boilerplate excelent work
Compatibility is key works seamlessly on desktop and mobile Render with webgl if available, else fallback on canvas 2d Support mouse event and touch events
Good Practices Fullscreen enjoy your 3D on a large display no visual distraction. Screenshots help debug on various plateforms Share nice images with friends Window Resize required not to loose centering/scaling required to support fullscreen
Good Practices Motivation too often forgotten Number about three.js examples 128 examples total 26 of them handle touch events 11 handle window resize 2 handle screenshot 0 handle fullscreen
How to use it step1: git clone git://github.com/jeromeetienne/threejsboilerplate.git step2: customize until it fit your needs