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
//step 1: add url for board | |
//Step 2: go to Board manager find and set board | |
//step 2: include keyboard library | |
//step 3: code! Reference - Tom Igoe - https://www.arduino.cc/en/Tutorial/KeyboardAndMouseControl | |
//https://learn.adafruit.com/adafruit-feather-m0-adalogger/setup | |
//https://learn.adafruit.com/adafruit-feather-m0-adalogger/adapting-sketches-to-m0 | |
//https://itp.nyu.edu/physcomp/labs/labs-arduino-digital-and-analog/analog-in-with-an-arduino/ | |
//https://www.arduino.cc/en/Reference/KeyboardPress | |
//https://itp.nyu.edu/physcomp/labs/labs-arduino-digital-and-analog/digital-input-and-output-with-an-arduino/ |
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
//Sources: | |
//http://printingcode.runemadsen.com/examples/randomization/pintori_1/index.html | |
//Rune Madsen | |
// | |
// | |
var r = new Rune({ | |
container: "#canvas", | |
width: 800, | |
height: 1000, |
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
//references | |
//http://runemadsen.github.io/rune.js/ | |
//http://printingcode.runemadsen.com/examples/ | |
//Innoshima Consultation: Suzuka Okano, Megumi Ibaraki | |
var r = new Rune({ | |
container: "#canvas", | |
width: 1000, | |
height: 1400, | |
debug: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
//references | |
//http://printingcode.runemadsen.com/examples/typography/font/ | |
//http://runemadsen.github.io/rune.js/ | |
//http://printingcode.runemadsen.com/examples/ | |
var r = new Rune({ | |
container: "#canvas", | |
width: 600, | |
height: 900, | |
debug: 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
var r = new Rune({ | |
container: "#canvas", | |
width: 1000, | |
height: 1000, | |
debug: true | |
}); | |
//y curves | |
var curveY1 = Rune.random(-225, -275); | |
var curveY2 = Rune.random(-425, -475); |
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
var r = new Rune({ | |
container: "#canvas", | |
width: 800, | |
height: 2800, | |
debug: false | |
}); | |
var width =r.width; | |
var height = r.height; | |
var randomColor = r.random(0,360) | |
// var groupX = width*.125; //100 |
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
//Resources: | |
//http://printingcode.runemadsen.com/examples/color/hsv_circle/index.html | |
//http://printingcode.runemadsen.com/examples/form/sincos/ | |
//http://printingcode.runemadsen.com/lecture-color/ | |
var r = new Rune({ | |
container: "#canvas", | |
width: 600, | |
height: 800, | |
debug: 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
//you can see the various ways I tested different ways to code the shapes | |
//resource: http://printingcode.runemadsen.com/examples/form/path_curve_quad/ | |
var r = new Rune({ | |
container: "#canvas", | |
width: 1185, | |
height: 800, | |
debug: 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
var r = new Rune({ | |
container: "#canvas", | |
width: 800, | |
height: 1185, | |
debug: true | |
}); | |
var width = r.width; | |
var height = r.height; | |
//Mars Vars |
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
var r = new Rune({ | |
container: "#canvas", | |
width: 800, | |
height: 800, | |
debug: true | |
}); | |
var w = 205; | |
var h = 170; | |
var y = 704; |