Smooth 3D wobbly cube with VBO rebuffering: CubicVR.js
Smooth 3D wobbly cube with VBO rebuffering: CubicVR.js
Join the DZone community and get the full member experience.
Join For FreeJumpstart your Angular applications with Indigo.Design, a unified platform for visual design, UX prototyping, code generation, and app development.
CubicVR, a 3D engine written in C++, was ported to JavaScript using WebGL, and shown off by a pretty awesome tech demo (Flight of the Navigator) at Mozilla's Web o' Wonder:

Now the engine's creator, Charles Cliffe, has dived deeper into WebGL and created an impressively smooth-wobbling cube implementing dynamic VBO rebuffering (see OpenGL spec here):

The new demo takes better advantage of WebGL's awesome: if you've got a good GPU, the wobbly cube implementing the VBO extension should run much faster than the Flight of the Navigator.
The project is on github, and is worth poking around.
Take a look at an Indigo.Design sample application to learn more about how apps are created with design to code software.
Opinions expressed by DZone contributors are their own.
{{ parent.title || parent.header.title}}
{{ parent.tldr }}
{{ parent.linkDescription }}
{{ parent.urlSource.name }}