$ git config --global user.name username
$ git config --global user.email email@email.com
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 stars = []; | |
let factor = 100; | |
let speedSlider; | |
function setup() { | |
createCanvas(windowWidth, windowHeight); | |
speedSlider = createSlider(0, 20, 2, 0.1); | |
for (let i = 0; i < 500; i++) { | |
stars[i] = createVector( | |
random(-width*factor,width*factor), |
- Challenges: (Goal: 10 challenges)
- Soft Body Physics Challenge (toxiclibs)
- Pi Day - Buffon's Needle
- The Climate Spiral
- ⭐ Wolfram Elementary CA
- Wave Function Collapse Overlapping model
- 'Signed Distance Functions'
- Secord's Algorithm (Dithering/Voronoi Stippling); info
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
10 REM POKE 230,32 : REM page 1 | |
20 REM POKE 230,64 : REM page 2 | |
30 REM POKE 49236,0 : REM display page 1 | |
40 REM POKE 49237,0 : REM display page 2 | |
100 HGR:HGR2 | |
105 W = 140 : H = 90 : SL = 50 | |
110 TH = 0 | |
120 SCR = 0 | |
125 GOSUB 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
// 10print.org | |
// Animated version of 10 print. | |
var x = 0; | |
var y = 0; | |
function setup() { | |
createCanvas(640, 360); | |
background(255); | |
} |
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); | |
const url = 'https://www.random.org/integers/?num=10&min=2&max=1316&col=1&base=10&format=plain&rnd=new'; | |
loadStrings(url, gotData); | |
function gotData(data) { | |
console.log(data); | |
} | |
} |
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
import processing.video.*; | |
Capture cam; | |
void setup() { | |
size(640, 480); | |
cam = new Capture(this, 640, 480); | |
cam.start(); | |
} |
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
Falling Sand | |
K-d Tree | |
Fast Blur | |
Slime Mold | |
Spider Web | |
K-means | |
image stippling | |
Wave collapse function | |
Skyline Viz | |
Dancing Skeleton |
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
Tree tree; | |
float min_dist = 5; | |
float max_dist = 250; | |
void setup() { | |
size(180, 300); | |
tree = new Tree(); | |
} |
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() { | |
noCanvas(); | |
let button = createButton('start'); | |
button.mousePressed(function() { | |
let speech = new p5.Speech(); | |
let speechRec = new p5.SpeechRec('en-US', gotSpeech); | |
let continuous = true; | |
let interim = false; | |
speechRec.start(continuous, interim); |
NewerOlder