This is an example of how to use the getUserMedia API to capture video from the user camera and also how to play with video a canvas to generate an ascii camera.
JavaScript CSS HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
img
js
README.md
index.html

README.md

Asciicam

Running sample: https://escobar5.github.com/asciicam/

This is an html5 Ascii camera, it shows the camera stream as ascii art.

This is an example of how to use the getUserMedia API to capture video from the user camera and also how to play with video a canvas to generate an ascii camera.

Supported browsers

  • Chrome 21+
  • Opera 12+
  • Firefox 31+

Notes

The code used for generating ascii from an image is from this tutorial: http://thecodeplayer.com/walkthrough/cool-ascii-animation-using-an-image-sprite-canvas-and-javascript