Skip to content

Instantly share code, notes, and snippets.

View andyinabox's full-sized avatar

Andy Dayton andyinabox

View GitHub Profile
<html><script type="module" src="https://gist.github.com/andyinabox/8f7514d111ae7ab78ddc45934a46b156/scratchpad.js"></script><scratchpad-main></scratchpad-main></html>
@andyinabox
andyinabox / follow.pde
Created April 17, 2017 20:15
Follow point in Processing
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);
}

Week 13: Working with Data!

How we feelin?

Reset

Image by A. M. Stanford

Today

@andyinabox
andyinabox / local_server.md
Created January 31, 2017 18:24 — forked from daytona1/local_server.md
Running a local server

Running a Local Server

This document includes instructions on how to run a local server on your computer using Python.

Python setup

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
@andyinabox
andyinabox / CCFA15_week_11.md
Created January 31, 2017 18:24 — forked from daytona1/CCFA15_week_11.md
Creative computing week 11

Week 11: Work Day!

How we feelin?

Today

Today

  1. Pushing to the web server
  2. Basic project setup review

Week 12: Time to get busy

How we feelin?

Zombie Mode

Today

  1. Discussion
  2. "Timepiece" projects

Week 9: Time

How are we feeling?

HTML Brian Fitzgerald/flickr

Today we will

  • Discuss the second part of Galloway's Protocol
  • Go over last week's assignment
#include "blinky.h"
Blinky led1(13, 1000);
Blinky led2(12, 500);
void setup() {
// put your setup code here, to run once:
}