Image by A. M. Stanford
This file contains hidden or 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><script type="module" src="https://gist.github.com/andyinabox/8f7514d111ae7ab78ddc45934a46b156/scratchpad.js"></script><scratchpad-main></scratchpad-main></html> |
This file contains hidden or 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
int h = 200; | |
PVector point; | |
PVector prev; | |
void setup() { | |
size(500, 500); | |
point = new PVector(mouseX, mouseY); | |
prev = point; |
This file contains hidden or 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 de.voidplus.leapmotion.*; | |
LeapMotion leap; | |
void setup() { | |
size(500, 500); | |
leap = new LeapMotion(this); | |
} | |
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
- Discuss the second part of Galloway's Protocol
- Go over last week's assignment
This file contains hidden or 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 "blinky.h" | |
Blinky led1(13, 1000); | |
Blinky led2(12, 500); | |
void setup() { | |
// put your setup code here, to run once: | |
} |
NewerOlder