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
//LOOP & LOG | |
void setup() { | |
println("I run once"); | |
} | |
void draw() { | |
println("Mouse X: " + mouseX + " Mouse Y: " + mouseY); | |
} |
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
//draw a contiuous line | |
void setup() { | |
size(500,500); | |
background(0,0,0); | |
} | |
void draw() { | |
stroke(255,255,255); | |
line(pmouseX, pmouseY, mouseX, mouseY); |
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
//draw a contiuous line | |
void setup() { | |
size(500, 500); | |
background(0, 0, 0); | |
} | |
void draw() { | |
println("Mouse X: " + mouseX + " Mouse Y: " + mouseY); | |
} |
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
//draw a contiuous line | |
void setup() { | |
size(500, 500); | |
background(0, 0, 0); | |
} | |
void draw() { | |
println("Mouse X: " + mouseX + " Mouse Y: " + mouseY); | |
} |
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
//draw a contiuous line | |
void setup() { | |
size(500, 500); | |
background(0, 0, 0); | |
} | |
void draw() { |
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
//draw a contiuous line | |
void setup() { | |
size(500, 500); | |
background(0, 0, 0); | |
} | |
void draw() { |
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
//draw a contiuous line | |
int r = 0; | |
int g = 0; | |
int b = 0; | |
void setup() { | |
size(500, 500); | |
background(0, 0, 0); |
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
//draw a contiuous line | |
int r = 0; | |
int g = 0; | |
int b = 0; | |
void setup() { | |
size(500, 500); | |
background(0, 0, 0); |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>GetJSON Example</title> | |
<link rel="stylesheet" href="style.css" type="text/css" /> | |
<script | |
src="https://code.jquery.com/jquery-3.4.1.min.js" | |
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" | |
crossorigin="anonymous"></script> |
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
var url = "https://spreadsheets.google.com/feeds/list/1qwbpwuHScQcujaMEg434eWPmpChMGBzaRQ9n39tYBjE/od6/public/values?alt=json"; | |
var dudes = []; | |
function setup() { | |
createCanvas(windowWidth, windowHeight); | |
// Request the data from openweathermap | |
loadJSON(url, gotSpreadsheet); | |
} | |
function draw() { | |
background(0); |
NewerOlder