- Web Audio API (native browser audio playback & low-level DSP tools)
- SoundCloud public API
- RxJS (reactive functional programming JS library) (used for displaying SoundCloud search results)
- Canvas (native browser 2D drawing)
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> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>U.S. Prison Population From 1978-2014</title> | |
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> | |
<link href="main.css" rel="stylesheet" type="text/css"> | |
<script src="https://d3js.org/d3.v3.min.js" defer></script> |
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
license: mit |
I hereby claim:
- I am oshoham on github.
- I am osh (https://keybase.io/osh) on keybase.
- I have a public key whose fingerprint is D032 13BF 189A A36B BA35 711E 0E66 D9A1 476C 69E6
To claim this, I am signing this object:
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> | |
<head> | |
<title>jQuery Fun House Starter Code</title> | |
</head> | |
<body> | |
<div class="section"> | |
<h1>What is your name? | |
<input id="name"> | |
</h1> |
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> | |
<head> | |
<title>jQuery Fun House Solution Code</title> | |
</head> | |
<body> | |
<div class="section"> | |
<h1>What is your name? | |
<input id="name"> | |
</h1> |
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
PGraphics img1; | |
PGraphics img2; | |
void setup() { | |
size(400, 400); | |
background(255); | |
img1 = createGraphics(400, 400); | |
img2 = createGraphics(400, 400); | |
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
/* | |
* Laser Harp MIDI Controller | |
* | |
* Authors: Wei-Luen (Alan) Peng and Oren Shoham | |
*/ | |
// hex to MIDI note reference: https://www.wavosaur.com/download/midi-note-hex.php | |
// scale: B5, A5, G5, F5, E5, D5, C5 | |
const int notes[7] = {0x5F, 0x5D, 0x5B, 0x59, 0x58, 0x56, 0x54}; | |
const int startingInputPin = 3; |
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
/* | |
* Author: Oren Shoham | |
* Written on 1/30/2018 for Tom Igoe's Tangible Interaction Workshop class at NYU ITP. | |
* | |
* References: | |
* https://github.com/PaulStoffregen/Encoder/blob/master/examples/Basic/Basic.pde | |
* https://www.arduino.cc/en/Tutorial/KeyboardAndMouseControl | |
*/ | |
#include <Encoder.h> |
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 <Adafruit_LIS3DH.h> | |
#define USE_ACCELEROMETER true | |
const int sliderPins[7] = { A1, A2, A3, A6, A7, A8, A9 }; | |
const int sliderThreshold = 20; | |
const int sliderNoiseThreshold = 30; | |
const int rotarySwitchPins[4] = { 5, 4, 3, 2 }; | |
const int toggleSwitchPins[2] = { 7, 8 }; |
OlderNewer