3D Star

[p5js code canvas]
size(300,300);
background(0,255,255);
noStroke();
fill(182);
triangle(100,20,100,110,70,80);
triangle(100,110,100,200,70,140);
fill(210);
triangle(100,20,100,110,130,80);
fill(225);
triangle(100,110,100,200,70,140);
triangle(10,110,100,110,70,80);
triangle(100,110,190,110,130,80);
fill(153);
triangle(10,110,100,110,70,140);
triangle(100,110,190,110,130,140);
triangle(100,110,100,200,130,140);
[/p5js]

Erasmus+ project 2015-2017