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
'use strict' | |
function setup() { | |
const xOffset = 50; | |
const d = 120; | |
createCanvas(400,600); | |
background(255); | |
//grid | |
for(let i = 0; i < 2; i++){ |
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
'use strict' | |
function setup() { | |
const xOffset = 80; | |
const d = 170; | |
createCanvas(400,600); | |
background(255); | |
//grid | |
for(let i = 0; i < 2; i++){ |
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
{ | |
"type": "FeatureCollection", | |
"features": [ | |
{ | |
"type": "Feature", | |
"properties": { | |
"where": "Sacré Cœur", | |
"art-type": "action art", | |
"arrondissement": "18" | |
}, |
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 controlP5.*; | |
ControlP5 gui; | |
KochFractal k; | |
PentaFlake p; | |
KochFractal[] kochs = new KochFractal[20]; | |
void setup() { |
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
//sketch.js | |
var RESOLUTION = 20; | |
var angles = []; | |
var rows, cols; | |
var vehicles = []; | |
function setup() { | |
createCanvas(600, 600); | |
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
//Sketch | |
var particles = []; | |
function setup() { | |
createCanvas(500, 600); | |
} | |
function draw() { | |
background(255, 204, 0); |
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
//index.html | |
<head> | |
<script language="javascript" src="p5.js"></script> | |
<!-- uncomment lines below to include extra p5 libraries --> | |
<!--<script language="javascript" src="../addons/p5.dom.js"></script>--> | |
<!--<script language="javascript" src="../addons/p5.sound.js"></script>--> | |
<script defer src="dat.gui.min.js" type="text/javascript"></script> | |
<script defer language="javascript" src="sketch.js"></script> | |
<script defer language="javascript" src="particle.js"></script> | |
<script defer language="javascript" src="ForceField.js"></script> |
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
//This is the Sketch | |
var n = 150; | |
var count = 0; | |
var MAX_VEL = 4.5; | |
var particles = []; | |
function setup() { | |
createCanvas(800,800); | |
noCursor(); |
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
// initialize sound | |
window.onload = init; | |
var context; | |
var bufferLoader; | |
function init() { | |
// Fix up prefixing | |
window.AudioContext = window.AudioContext || window.webkitAudioContext; | |
context = new AudioContext(); |
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> | |
<title>shadow is my best friend</title> | |
<!-- AniCollection.css library --> | |
<link rel="stylesheet" href="http://anijs.github.io/lib/anicollection/anicollection.css"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | |
<!-- Custom CSS Styles --> |
NewerOlder