Week 13: Working with Data!
How we feelin?
Image by A. M. Stanford
<html><script type="module" src="https://gist.github.com/andyinabox/8f7514d111ae7ab78ddc45934a46b156/scratchpad.js"></script><scratchpad-main></scratchpad-main></html> |
int h = 200; | |
PVector point; | |
PVector prev; | |
void setup() { | |
size(500, 500); | |
point = new PVector(mouseX, mouseY); | |
prev = point; |
import de.voidplus.leapmotion.*; | |
LeapMotion leap; | |
void setup() { | |
size(500, 500); | |
leap = new LeapMotion(this); | |
} | |
Image by A. M. Stanford
This document includes instructions on how to run a local server on your computer using Python.
You may need to run a local server for all of the features of p5 to work. On a Mac, you should already have Python installed which has an easy built-in way to start up a server from your project. Open up your terminal and try this:
$ python --version
#include "blinky.h" | |
Blinky led1(13, 1000); | |
Blinky led2(12, 500); | |
void setup() { | |
// put your setup code here, to run once: | |
} |