Code
show(circle(r=150, fill = "white"))
s = rectangle(h = 212, w=212, fill="yellow", stroke="none")
outer = s|rotate(4)|repeat(4,rotate(-9))
newouter = outer | repeat(3, rotate(30))
show(newouter)
s2 = rectangle(h = 198, w=198, fill="#F5841F", stroke="none")
ora = s2|rotate(8)|repeat(4,rotate(-9))
newora = ora | repeat(3, rotate(30))
show(newora)
s3 = rectangle(h = 184, w=184, fill="#EA3459", stroke="none")
pink = s3|rotate(13)|repeat(4,rotate(-9))
newpink = pink | repeat(3, rotate(30))
show(newpink)
s4 = rectangle(h = 170, w=170, fill="#321E11", stroke="none")
darkmaroon = s4|rotate(10)|repeat(4,rotate(-10))
newdarkmaroon = darkmaroon | repeat(3, rotate(30))
show(newdarkmaroon)
show(circle(r=110,fill="white", stroke="none"))
s5 = rectangle(h = 155, w=155, fill="yellow", stroke="none")| repeat(2, rotate(45))
s6 = s5 | rotate(22.5)
show(s5,s6)
s7 = rectangle(h = 132, w=132, fill="#F0B01E", stroke="none")| repeat(2, rotate(45))
s8 = s7 | rotate(22.5)
s9 = s8 + s7 | rotate(11)
show(s9)
s10 = rectangle(h = 110, w=110, fill="#F5841F", stroke="none")| repeat(2, rotate(45))
s11 = s10 | rotate(22.5)
show(s10 + s11)
s12 = rectangle(h = 92, w=92, fill="#C93C28", stroke="none")| repeat(2, rotate(45))
s13 = s12 | rotate(22.5)
s14 = s12 + s13 | rotate(11)
show(s14)
s15 = rectangle(h = 78, w=78, fill="#9A1C21", stroke="none")| repeat(2, rotate(45))
s16 = s15 | rotate(22.5)
show(s15 + s16)
show(circle(r=45, fill="#321E11", stroke="none"))
# innerpetals
s17 = circle(r=28, fill="#5D642B", stroke="none")| translate(y=10, x = 0)| repeat(4, rotate(90))
show(s17)
s18 = circle(r=22, fill="#5A5724", stroke="none")| translate(y=10, x = 0)| repeat(4, rotate(90))
s19 = s18 | rotate(45)
show(s19)
s20 = circle(r=16, fill="#F0B01E", stroke="none")| translate(y=10, x = 0)| repeat(4, rotate(90))
show(s20)
s21 = circle(r=13, fill="#F5841F", stroke="none")| translate(y=10, x = 0)| repeat(4, rotate(90))|rotate(45)
show(s21)
show(circle(r=18, fill="#F0B01E", stroke="none"))
e1 = ellipse(h=35, w=14, fill="#F5841F", stroke="none")| repeat(8, rotate(45))
e2 = ellipse(h=24, w=10, fill="#C93C28", stroke="none")| repeat(8, rotate(45)) | rotate(20)
c1 = circle(r=8,fill="#9A1C21", stroke="none")
show(e1, e2, c1)
p1 = point(x=40, y=0)
p2 = point(x=0, y=40)
p3 = point(x=0, y=0)
t1 = polygon([p1, p2, p3], fill="#321E11", stroke="none")| rotate(45) | translate(y = 120, x = 0)
t = t1 | repeat(12, rotate(30))
show(t)
t2 = polygon([p1, p2, p3], fill="#9A1C21", stroke="none")|scale(0.7)| rotate(45) | translate(y = 129, x = 0)
t = t2 | repeat(12, rotate(30))
show(t)
t3 = polygon([p1, p2, p3], fill="#F5841F", stroke="none")|scale(0.4)| rotate(45) | translate(y = 138, x = 0)
t = t3 | repeat(12, rotate(30))
show(t)
t4 = polygon([p1, p2, p3], fill="yellow", stroke="none")|scale(0.2)| rotate(45) | translate(y = 144, x = 0)
t = t4 | repeat(12, rotate(30))
show(t)