Copy the babylon.js file in to the same /public/js folder as your plugin. All .js files will automatically be loaded.
The example code from the site simply adds a canvas to the page. We are going to do the same thing in the plugin, but we have to decide where to put it.
Plugins have some references for a concept of the cockpit, global event emitter, etc.
The fully updated plugin code picture is here.
Insert a new line below
Insert a new line above
Indent current line
Unindent current line
Delete current line
Navigate to next step.
Navigate to previous step.