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> | |
<head> | |
</head> | |
<body> | |
<div id=thumbs>Loading video in background...</div> | |
<script> | |
function videoToImage(iSrc) { |
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
let videoToImage = function (iSrc) { | |
let i = 0; | |
let video = document.createElement("video"); | |
let thumbs = []; | |
video.addEventListener('loadeddata', function() { | |
thumbs.innerHTML = ""; | |
video.currentTime = i; | |
}, false); |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Kinectron For Three.js - Simple Example</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> | |
<!-- Origin Trial Token, feature = WebVR (For Chrome M59+), origin = https://juniorxsound.github.io, expires = 2017-08-16 --> | |
<meta http-equiv="origin-trial" data-feature="WebVR (For Chrome M59+)" data-expires="2017-08-16" content="Ahwo2B0LoM2bLB015eLJ4CAvJa0xF9VVn0FO1/AaYfPklvBUwcfYFkXKenD57vhGo1WQt9Hg9IFauhKdRgLN8w8AAABreyJvcmlnaW4iOiJodHRwczovL2p1bmlvcnhzb3VuZC5naXRodWIuaW86NDQzIiwiZmVhdHVyZSI6IldlYlZSMS4xIiwiZXhwaXJ5IjoxNTAyOTEyNTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZX0="> | |
<style> |
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
// Serial commands to send data to Arduino | |
var serial; // variable to hold an instance of the serialport library | |
var portName = '/dev/cu.usbmodem1421'; // fill in your serial port name here | |
var options = { | |
baudrate: 9600 | |
}; // change the data rate to whatever you wish | |
var inData; // for incoming serial data | |
// var xPos = 0; // x position of the graph // UNNECESSARY | |
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
let data = []; | |
let companies = []; | |
let dataLoaded; | |
let maxData; | |
function preload(){ | |
dataLoaded = loadTable("WIT_stat.csv", "csv", "header"); | |
} | |
function setup() { |
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
// Run with simplehttpserver for image to load properly. http://www.andyjamesdavies.com/blog/javascript/simple-http-server-on-mac-os-x-in-seconds | |
var myCanvas = null; | |
var beach; | |
var image1; | |
var image2; | |
var image1Loaded = false; | |
var overlap1 = false; | |
var overlap2 = false; | |
var image2Loaded = false; |
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
# import piexif | |
import exifread | |
import gpsphoto | |
import os | |
import pprint | |
import json | |
import PIL | |
from PIL import Image | |
cwd = os.getcwd() #get current path as string |
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
[{"filename": "DSCF0950.JPG"}, | |
{"lat": 40.70191944444444, | |
"alt": 13, | |
"long": -73.98603888888888, | |
"filename": "FullSizeRender.jpg"}, | |
{"lat": 40.719119444444445, | |
"alt": 5, | |
"long": -73.95459722222222, | |
"filename": "IMG_1895.jpg"}, | |
{"lat": 40.71940277777778, |
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
#include "cinder/app/App.h" | |
#include "cinder/app/RendererGl.h" | |
#include "cinder/gl/gl.h" | |
#include "LeftSensor.hpp" | |
#include "RightSensor.hpp" | |
#include "PulseSensor1.hpp" | |
#include "PulseSensor2.hpp" | |
//#include "cinder/params/Params.h" | |
using namespace ci; |
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
/*! p5.kinect2.js v0.0.1 2015-07-23 */ | |
/** | |
* @module p5.kinect2 | |
* @submodule p5.kinect2 | |
* @for p5.kinect2 | |
* @main | |
*/ | |
/** | |
* p5.kinect2 | |
* Shawn Van Every (Shawn.Van.Every@nyu.edu) |