Skip to content

Instantly share code, notes, and snippets.

Avatar

Kimberly Lin madbunnykim

View GitHub Profile
@madbunnykim
madbunnykim / index.html
Created Sep 24, 2018
Swipe with your voice
View index.html
<!DOCTYPE html>
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.11/p5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.11/addons/p5.dom.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.11/addons/p5.sound.min.js"></script>
<script src="p5.speech.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<h1><p align="center">~Swipe with your voice~</p></h1>
</head>
@madbunnykim
madbunnykim / index.html
Created Sep 17, 2018
Strange Connection
View index.html
<html>
<head>
<title>Strange Connection</title>
<h1><p align=center>Strange Connection</p></h1>
</head>
<body>
<p align=center><i>"This new dating app is a total game-changer." - The New York Times</i></p>
View SOMATAROT III
let timeEvent;
let buttonState = 0;
let trigger;
let outro;
let tarot1, tarot2, tarot3;
let death, devil, fool, hangedman, hermit, moon, hierophant, emperpr, empress, judgement, magician, strength, highpriestess, sun, temperance, lovers, tower, star, chariot, world, wheeloffortune;
let covered1 = true;
let covered2 = true;
let covered3 = true;
let vidsound = [];
View randomfruitbaby
let fruit1, fruit2, fruit3, fruit4, fruit5, fruit6;
let vid1, vid2, vid3, vid4, vid5, vid6;
function preload() {
fruit1 = loadSound('onepercent.wav');
fruit2 = loadSound('hypergendered.wav');
fruit3 = loadSound('void.wav');
fruit4 = loadSound('caterpillar.wav');
fruit5 = loadSound('waterbirth.wav');
fruit6 = loadSound('commune.wav');
View who's your baby
let fruit1, fruit2, fruit3, fruit4, fruit5, fruit6;
let vid1, vid2, vid3, vid4, vid5, vid6;
function preload() {
fruit1 = loadSound('onepercent.wav');
fruit2 = loadSound('hypergendered.wav');
fruit3 = loadSound('void.wav');
fruit4 = loadSound('caterpillar.wav');
fruit5 = loadSound('waterbirth.wav');
fruit6 = loadSound('commune.wav');
@madbunnykim
madbunnykim / somatarot
Last active Feb 22, 2018
SomaTarot II
View somatarot
let tarot1, tarot2, tarot3;
let death, devil, fool, hangedman, hermit, moon;
let covered1 = true;
let covered2 = true;
let covered3 = true;
let vidsound = [];
function preload() {
death = loadSound('voiceover/death.mp3');
devil = loadSound('voiceover/devil.mp3');
View somatarot
let tarot1, tarot2, tarot3;
let videoXrandomizer = [0, 1, 2];
let covered1 = true;
let covered2 = true;
let covered3 = true;
let videos = [];
let selection = [];
function setup() {
createCanvas(windowWidth, windowHeight);
View Baenana
#include <SoftwareSerial.h>
#include <DFRobotDFPlayerMini.h>
SoftwareSerial mySoftwareSerial(10, 11); // RX, TX
DFRobotDFPlayerMini myDFPlayer;
void printDetail(uint8_t type, int value);
const int PEEL1 = 2;
const int PEEL2 = 3;
const int PEEL3 = 4;
const int PEEL4 = 5;
@madbunnykim
madbunnykim / sketch.js
Created Nov 27, 2017
12 Wenhai Street
View sketch.js
let floorplan;
let lake;
let bathtub;
let house;
let house2;
let house3;
let house4;
let door;
let enter;
let elevator;
View sketch.js
let footprint;
let footprint2;
// let ripple;
let mic;
let ghost;
function preload() {
// ghost = createVideo('shadow_finalver.mov');
footprint = loadImage("footprint.png");
footprint2 = loadImage("footprint2.png");