Files
Sam Thorogood 8af19b8ca9 move
2020-12-04 09:18:01 +11:00
..
2020-12-04 09:18:01 +11:00
2020-12-04 09:18:01 +11:00
2020-12-04 09:18:01 +11:00
2020-12-04 09:18:01 +11:00
2020-12-04 09:18:01 +11:00
2020-12-04 09:18:01 +11:00
2020-12-04 09:18:01 +11:00
2020-12-04 09:18:01 +11:00
2020-12-04 09:18:01 +11:00
2020-12-04 09:18:01 +11:00

Try it now in CWS

Hello 3D World

A basic application using WebGL capabilities. It loads a 3D model from a JSON file and allows for model rotation and camera zooming, based on mouse movements. Dragging the mouse enters pointer lock, allowing movement unlimited by window or screen boundaries.

This sample uses the frameless window:

chrome.app.runtime.onLaunched.addListener(function() {
  chrome.app.window.create('index.html',
    {frame: 'none', innerBounds: {width: 500, height: 400}});
});

APIs

External libs