new version of multi remix
This commit is contained in:
parent
f1b28985e7
commit
a061700498
@ -1,46 +1,53 @@
|
||||
|
||||
/*
|
||||
|
||||
The cover image is derived from Multi Remix,
|
||||
an Open Source and cross-platform interpretation
|
||||
by Winnie Soon and Geoff Cox of the software app
|
||||
Multi by David Reinfurt. Multi updates the idea
|
||||
of the multiple from industrial production to the
|
||||
dynamics of the information age. Each cover
|
||||
presents an iteration of a possible 1,728
|
||||
arrangements, each a face built from minimal
|
||||
typographic furniture, and from the same source
|
||||
code.
|
||||
|
||||
https://o-r-g.com/apps/multi
|
||||
|
||||
https://aesthetic-programming.net/pages/2-variable-geometry.html
|
||||
|
||||
*/
|
||||
|
||||
/* --- Variable Geometry 1 (cover) --- */
|
||||
|
||||
/*Inspired by David Reinfurt's work - Multi*/
|
||||
// var moving_size = 50;
|
||||
var static_size = 20;
|
||||
|
||||
function setup() {
|
||||
var c = createCanvas(600, 600);
|
||||
c.parent('variable-geometry');
|
||||
frameRate(15);
|
||||
}
|
||||
|
||||
function draw() {
|
||||
//background
|
||||
//background(random(230, 240));
|
||||
|
||||
//left
|
||||
noStroke()
|
||||
fill(0);
|
||||
rect(97, 169, 79, 12);
|
||||
// x, y, w, h
|
||||
rect(77, 169, 100, 16);
|
||||
|
||||
//right
|
||||
rect(365, 184, 20, 15);
|
||||
fill(20, 20, 120);
|
||||
rect(395, 184, 32, 25);
|
||||
fill(0);
|
||||
|
||||
beginShape();
|
||||
vertex(365, 199);
|
||||
vertex(385, 199);
|
||||
vertex(372, 216);
|
||||
vertex(358, 216);
|
||||
vertex(395, 209);
|
||||
vertex(427, 209);
|
||||
vertex(407, 241);
|
||||
vertex(383, 241);
|
||||
endShape(CLOSE);
|
||||
|
||||
//bottom
|
||||
noFill();
|
||||
stroke(130);
|
||||
strokeWeight(2);
|
||||
ellipse(255, 350, static_size, static_size);
|
||||
stroke(0);
|
||||
strokeWeight(8);
|
||||
ellipse(255, 400, 100, 100);
|
||||
|
||||
//mouse interactions
|
||||
//stroke(180);
|
||||
//ellipse(mouseX, mouseY, moving_size, moving_size);
|
||||
|
||||
//if (mouseIsPressed) {
|
||||
// static_size = floor(random(5, 20));
|
||||
//}
|
||||
}
|
1
command-line/js/variable-geometry.js
Normal file
1
command-line/js/variable-geometry.js
Normal file
@ -0,0 +1 @@
|
||||
xxx
|
Loading…
Reference in New Issue
Block a user