Provides functionality for displaying simple image (or video) panorama's including basic support for hotspots.
yarn add seng-panoramarenderer
npm i -S seng-panoramarenderer
Simple Panorama example (make sure the images are preloaded first).
For more examples, please check the examples directory.
View the generated documentation.
Clone a copy of the repo:
git clone https://github.com/mediamonks/seng-panoramarenderer.git
Change to the seng-panoramarenderer directory:
Install dev dependencies:
Use one of the following main scripts:
yarn build # build this projectyarn dev # run compilers in watch mode, both for babel and typescriptyarn test # run the unit tests incl coverageyarn test:dev # run the unit tests in watch modeyarn lint # run eslint and tslint on this projectyarn doc # generate typedoc documentation
When installing this module, it adds a pre-commit hook, that runs lint and prettier commands before committing, so you can be sure that everything checks out.
MIT © MediaMonks