This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<video id="v" width="300" height="300"></video> | |
<input id="b" type="button" disabled="true" value="Take Picture"></input> | |
<canvas id="c" style="display:none;" width="300" height="300"></canvas> | |
</body> | |
<script> | |
navigator.getUserMedia({video: true}, function(stream) { | |
var video = document.getElementById("v"); | |
var canvas = document.getElementById("c"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
["0,0,0", | |
"35,0,1", | |
"71,1,2", | |
"107,2,6", | |
"142,4,10", | |
"178,6,16", | |
"214,9,21", | |
"249,13,27", | |
"1,35,2", | |
"36,36,2", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.m | |
// NinetyNineProblems | |
// | |
// Created by Mike Newell on 4/3/14. | |
// Copyright (c) 2014 Mike Newell. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
NewerOlder