Files
2023-03-20 11:01:47 -04:00
..
2023-02-03 10:58:04 -06:00
2023-02-03 10:58:04 -06:00
2023-02-03 10:58:04 -06:00
2023-03-20 11:01:47 -04:00
2023-03-20 11:01:47 -04: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