Skip to content

About

Control three.js camera with device orientation API

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

three.orientation

Control three.js camera with device orientation API

usage

// create control:
var orientationControl = require('three.orientation')(camera);

// somewhere inside request animation frame:
orientationContorl.update();

This module depends on THREE.js being in a global scope

install

With npm do:

npm install three.orientation

license

MIT

About

Control three.js camera with device orientation API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages