littlstar-axis

1.21.2 • Public • Published

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.

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

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

Package Sidebar

Install

npm i littlstar-axis

Weekly Downloads

2

Version

1.21.2

License

none

Last publish

Collaborators

  • werle