Code Sketch
Gen-art created by Mithali
By: Anusha Pant
0


0




cleari() size(900, 900) initRandomGenerator(2333117645995689595L) val pic1 = Picture { def shape() { repeat(2) { forward(190) right(60) forward(190) right(120) } } def block() { setFillColor(randomColor.fadeOut(0.7)) shape() right(30) } setPenColor(cm.darkGreyClassic) left(30) repeat(12) { block() } } val pic2 = Picture { setPenFont(Font("Noto Serif", 70)) setPenColor(darkGray) write("Mithali") } val pic = picColCentered(pic1) drawCentered(pic)





Your Comment:





Login to post a comment