GithubHelp home page GithubHelp logo

bhanditz / starlingcamera Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fogandwhisky/starlingcamera

0.0 2.0 0.0 240 KB

A camera component that integrates with the Starling Framework (AS3)

ActionScript 100.00%

starlingcamera's Introduction

THIS IS VERY OLD CODE AND NO LONGER MAINTAINED. USE AT YOUR OWN RISK.

This is a simple view component for the Starling AS3 Framework that allows you to integrate a Camera with the rest of Starling's display list.
Look at the Main and MainView classes for a simple tutorial.

StarlingCamera supports:
- Arbitrary size of camera
- Mirroring of the camera view
- Arbitrary framerate of the display for optimized performance
- Downsampling of the camera display for optimized performance
- A rotate flag to handle a bug on mobile AIR
- Full-resolution snapshot call (getImage())

Known issues:
- On IOS, the front-facing camera is higher resolution than the rear camera. This makes the image seem unnaturally zoomed.
 I'll post a fix when I can.
- A bug on Air for IOS causes the camera to rotate 90 degrees. This is handled in StarlingCamera by allowing the developer
 to pass in a rotate flag as part of the init() method.

starlingcamera's People

Contributors

fogandwhisky avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.