1.21.2 • Published 8 years ago

littlstar-axis v1.21.2

Weekly downloads
32
License
-
Repository
-
Last release
8 years ago

Axis

Axis is a panoramic rendering engine built for the Littlstar Player. It supports the rendering of equirectangular, cylindrical, and panoramic textures. It can playback spherical videos and render panoramic images. It also supports stacked video produced from the VSN Mobile V.360 video camera. Axis has support for rendering multiple projections such as Stereoscopic (Oculus), Tiny Planet and Fisheye.

npm.io

npm.io

Axis is currently in use in production on the Littlstar web platform. npm.io

Status

Development

Installation

$ component install littlstar/axis

or

var Axis = require('littlstar/axis');

Usage

var el = document.querySelector('#video');
var frame = new Axis(el, {src: '/path/to/video.mp4'});
frame.once('ready', function () {
  frame
  .seek(5)
  .play()
  .projection('tiny planet')
  .rotate('y', {value: 0.002, every: 500});
});

License

MIT