Today I want to share with you a new project I work on those days. The idea is to bring you a new tool to generate code for BabylonJS
Imagine you want to create a quick project with BabylonJS. You have to create a project, reference BabylonJS, create a simple scene, add assets and so on.
It’s straightforward, but we can do better…
Yeoman generator is already used with a lot of project (angular, webapp, wordpress, asp.net, office addins and so on …)
Check the generators here : http://yeoman.io/generators/
The Babylon generator
This step has to be done only one time. The “-g” argument will install those packages globally to your computer.
npm install -g yo
npm install -g generator-babylonjs
From now, you can generate your new project with this simple command :