volumetric-regimes-book/command-line/js/multi-remix.js

53 lines
1.0 KiB
JavaScript
Raw Normal View History

2021-11-03 19:31:34 +01:00
/*
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
*/
2021-09-29 15:00:20 +02:00
/* --- Variable Geometry 1 (cover) --- */
/*Inspired by David Reinfurt's work - Multi*/
function setup() {
var c = createCanvas(600, 600);
c.parent('variable-geometry');
}
function draw() {
//left
noStroke()
fill(0);
2021-11-03 19:31:34 +01:00
// x, y, w, h
rect(77, 169, 100, 16);
2021-09-29 15:00:20 +02:00
//right
2021-11-03 19:31:34 +01:00
rect(395, 184, 32, 25);
fill(0);
2021-09-29 15:00:20 +02:00
beginShape();
2021-11-03 19:31:34 +01:00
vertex(395, 209);
vertex(427, 209);
vertex(407, 241);
vertex(383, 241);
2021-09-29 15:00:20 +02:00
endShape(CLOSE);
//bottom
noFill();
2021-11-03 19:31:34 +01:00
stroke(0);
strokeWeight(8);
ellipse(255, 400, 100, 100);
2021-09-29 15:00:20 +02:00
}