Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beeglebug/pixi-camera
https://github.com/beeglebug/pixi-camera
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/beeglebug/pixi-camera
- Owner: beeglebug
- License: mit
- Created: 2015-05-15T10:37:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-15T13:01:55.000Z (over 9 years ago)
- Last Synced: 2024-10-28T15:49:14.181Z (18 days ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pixi-camera [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]
## installation
```sh
npm install pixi-camera
```## usage
```js
var PIXI = require('pixi.js');
var Camera = require('pixi-camera');var world = new PIXI.Container();
var camera = new Camera(world);
var renderer = PIXI.AutoDetectRenderer();
renderer.render(camera);
```[npm-url]: https://npmjs.org/package/pixi-camera
[npm-image]: http://img.shields.io/npm/v/pixi-camera.svg?style=flat[travis-url]: http://travis-ci.org/beeglebug/pixi-camera
[travis-image]: http://img.shields.io/travis/beeglebug/pixi-camera/master.svg?style=flat