mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-27 13:29:34 +07:00
* update tryitnow_small button image location https://raw.github.com/GoogleChrome/chrome-app-samples/master/tryitnowbutton_small.png changes to https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton_small.png * update tryitnow button image location https://raw.github.com/GoogleChrome/chrome-app-samples/master/tryitnowbutton.png changes to https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png
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}});
});
