Created by Varun VachharDemo GitHub
A basic example of a WebGL directive built using three.js and angular.js
You can even bind these values to the WebGL context – use the controls below to resize the object or change it’s material type.
Events such as window resizing or mouse moved can also be bound to the directive to update the scene. With the Responsive Canvas checkbox selected try resizing the window.