mirror of
https://github.com/Cametendo/EMVs-Creative-coding.git
synced 2026-06-20 17:45:02 +02:00
Did things
This commit is contained in:
32
Day-2/styleSettings.js
Normal file
32
Day-2/styleSettings.js
Normal file
@@ -0,0 +1,32 @@
|
||||
function setup() {
|
||||
createCanvas(100, 150);
|
||||
background(0, 150, 0);
|
||||
|
||||
ellipse(0, 50, 33, 33);
|
||||
|
||||
push();
|
||||
translate(50, 0);
|
||||
strokeWeight(10);
|
||||
fill(204, 153, 0);
|
||||
ellipse(0, 50, 33, 33);
|
||||
pop();
|
||||
|
||||
ellipse(100, 50, 33, 33);
|
||||
translate(0, 50);
|
||||
|
||||
ellipse(0, 50, 33, 33);
|
||||
|
||||
push();
|
||||
strokeWeight(10);
|
||||
fill(204, 153, 0);
|
||||
ellipse(33, 50, 33, 33);
|
||||
|
||||
push();
|
||||
stroke(0, 102, 153);
|
||||
ellipse(66, 50, 33, 33);
|
||||
pop();
|
||||
|
||||
pop();
|
||||
|
||||
ellipse(100, 50, 33, 33);
|
||||
}
|
||||
Reference in New Issue
Block a user