Pookkalam by Muhammed Shamir

Code

c = circle(r=160,fill="green")
c2 = circle(r=150,fill="orange")
c3 = circle(x=50,y=-50,r=70,fill="red")|repeat(12,rotate(60))
c3 = c3 | rotate (45)
show(c,c2,c3)
r1 = rectangle(w=200, h=200, fill="yellow",stroke="none") | repeat(12, rotate(60))
r1 = r1 | rotate (45)
show(r1)
white = rectangle (w=175,h=175,fill="white", stroke="white")|rotate(15) | repeat (15,rotate(50))
red = rectangle (w=165,h=165,fill="red", stroke="red")|rotate(15) | repeat (15,rotate(50))
darkred = rectangle (w=153,h=153,fill="darkred", stroke="darkred")|rotate(0) | repeat (15,rotate(50))
show(white,red,darkred)
p1 = point(x=-20, y=0)
p2 = point(x=20, y=0)
p3 = point(x=0, y=95)
c = circle(x=0,y=122,r=5,fill=color(r=0,g=225,b=0),stroke="black",stroke_width=1)|repeat(36*2,rotate(5))
show(c)
e2 = ellipse(w=200, h= 200/3, fill="violet", stroke="none")|repeat(9,rotate(angle=20))
show(e2)
c6 =circle(r=82,fill='white',stroke="#05eeff", stroke_width=5)
show(c6)
s1=rectangle(w=110,h=110,fill='#1dde23', stroke="#05eeff",stroke_width=3)
show(s1)
p1=point(x=25,y=70)
p2=point(x=-25,y=70)
p3=point(x=0,y=110)
p4=point(x=0,y=30)
s = polygon([p1,p4,p2,p3],fill="white",stroke="purple",stroke_width=2) | repeat(8,rotate(45))
show(s)
c = circle(x=0,y=59,r=5,fill=color(r=255,g=0,b=0),stroke="none")|repeat(36*2,rotate(10))
show(c)
c = circle(x=0,y=59,r=2,fill=color(r=255,g=215,b=0),stroke="none")|repeat(36*2,rotate(10))
show(c)
shape = ellipse(w=100,h=50,fill=color(r=255,g=145,b=0),stroke="green",stroke_width=2)| repeat(6, rotate(60))
show(shape)
c=circle(r=35,fill=color(r=255,g=255,b=0),stroke="green",stroke_width=2)
show(c)
c=circle(x=0,y=30,r=2,fill=color(r=255,g=20,b=147),stroke="none")|repeat(36,rotate(10))
show(c)
c1= circle(r= 40 , x=13, y= 0,fill="pink", stroke="pink")|repeat(5,rotate(72))
c2= circle(r= 35 , x=13, y= 0,fill="purple", stroke="purple")|repeat(5,rotate(72))
c3=circle(r= 30 , x=13, y= 0,fill=c2, stroke=c2)|repeat(5,rotate(72))
r2 = rectangle (w=30,h=30,x=20,y=0,fill="green", stroke="green")|rotate(20) | repeat (20,rotate(50))
s1 = ellipse(h= 70, w=35,fill="white", stroke="yellow")
s2 = s1 | rotate(45)
s3 = s1 | rotate(90)
s4 = s1 | rotate(135)
s5 = ellipse(x=20, y=0, w=20 ,h=12, fill= "#d95471", stroke = '#d95471', stroke_width = 3) | repeat(9, rotate(45))
s6 = ellipse(x=12, y=0, w=20 ,h=15, fill= "#ff92ce", stroke = "#fff315") | repeat(9, rotate(45))
show(s1, s2, s3, s4,s5,s6)