0.2.10 • Published 4 years ago

@wethecurious/equi-to-ae-projector v0.2.10

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

equi-to-ae-projector

equi-to-ae-projector

NPM

Install

npm install --save @wethecurious/equi-to-ae-projector

Optimization

The video src texture will perform better if the dimensions are power of 2, ie 2048 x 1024, 2048 x 2048, 4096 x 2048, 4096 x 4096

Usage

import * as React from 'react'

import { EquiToAeProjector, EquiToAeProjectorProps, CC, Texture  } from '@wethecurious/equi-to-ae-projector'

class Example extends React.Component {
  render () {
    return (
      <EquiToAeProjector 
        src={string} // video source
        trackSrc={string} // track source - optional
        isLoop={bool} // loop the video - optional
        isAutoPlay={bool} // auto play the video - optional
        isShowSource={bool} // view the source video - optional
        fov={number} // field of view - optional
        roll={number} // camera roll - optional
        tilt={number} // camera tilt - optional
        cc={cc} // color correction object - optional
        texture={texture} // texture object - optional
      />
    )
  }
}

License

MIT © we the curious

0.2.10

4 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.1.2

4 years ago

0.2.0

4 years ago

0.1.3

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago