This file contains 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 "ESP8266WiFi.h" | |
// WiFi parameters to be configured | |
//const char* ssid = "RZ2Q8"; | |
//const char* password = "9G9XP2ZBLDYHFQH2"; | |
int photocellPin = 0; | |
int photocellValue = 0; | |
int motorPin = 12; //GI012 |
This file has been truncated, but you can view the full file.
This file contains 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
{ | |
"ConstituentID": 1, | |
"DisplayName": "Robert Arneson", | |
"ArtistBio": "American, 1930–1992", | |
"Nationality": "American", | |
"Gender": "Male", | |
"BeginDate": 1930, | |
"EndDate": 1992, | |
"Wiki QID": null, | |
"ULAN": null |
This file contains 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
{ | |
"description": "A list of herbs and spices, and mixtures of the two.", | |
"herbs": [ | |
"Angelica", | |
"Basil", | |
"Holy Basil", | |
"Thai Basil", | |
"Bay leaf", | |
"Indian Bay leaf", | |
"Boldo", |
This file contains 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
class Paw { | |
constructor(x, y, xspeed, yspeed) { | |
this.x = x; | |
this.y = y; | |
this.xspeed = xspeed; | |
this.yspeed = yspeed; | |
this.touch=false; | |
this.bad=false; | |
} |
This file contains 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> | |
<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> | |
<link rel="stylesheet" type="text/css" href="style.css"> | |
</head> | |
<body> |
This file contains 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
class Paw { | |
constructor(x, y, xspeed, yspeed) { | |
this.x = x; | |
this.y = y; | |
this.xspeed = xspeed; | |
this.yspeed = yspeed; | |
this.touch=false; | |
this.bad=false; | |
} |
This file contains 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
let bubbles = []; | |
let fishcolor = [236, 136, 173]; | |
function Bubble() { | |
this.x = random(0, width); | |
this.y = random(height, 0); | |
this.i = random(0, width); | |
this.j = random(height, 0); | |
this.display = function() { |
This file contains 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
let bright0; | |
let bright1; | |
let bright2; | |
let bright3; | |
let bright4; | |
let bright5; | |
let bright6; | |
let bright7; | |
let bright8; | |
let bright9; |
This file contains 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
let x; | |
let y; | |
let r = 116; | |
let g = 187; | |
let b = 277; | |
function setup() { | |
createCanvas(400, 400) | |
} |
This file contains 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
function setup() { | |
createCanvas(400, 400); | |
background(116, 187, 227); | |
} | |
function draw() { | |
fill(55, 143, 80); | |
noStroke(); | |
triangle(0, 400, 10, 330, 20, 400); | |
triangle(20, 400, 30, 330, 40, 400); |
NewerOlder