Explore
Courses
Batches
Sketches
Statistics
Code a Pookkalam
Jobs
Devsprint
People
Course Creation
Create a Course
Guidelines
Resources
Support
Blogs
My Profile
About Us
Login
Sketches
0
Pookalam
By
Bageeradhan
Run
black = color(r=18,g=41,b=23) darkred = color(r=153, g=28, b=28) red= color(r=230, g=72, b=5) green= color(r=72, g=91, b=38) yellow= color(r=255, g=215, b=13) orange = color(r=255, g=133, b=3) yellowwhite = color(r=255, g=245, b=166) aqua = color(r=5,g=195,b=221) blue = color(r=0,g=64,b=25) midblue = color(r=0,g=51,b=102) green = color(r=50,g=205,b=50) rec1 = rectangle(w=200,h=200,fill=black,stroke='none') | repeat(10, rotate(10)) rec2 = rectangle(w=185,h=185,fill=darkred,stroke='none') | rotate(5) | repeat(10, rotate(10)) rec3 = rectangle(w=171,h=171,fill=red,stroke='none') | rotate(10) | repeat(10, rotate(10)) rec4= rectangle(w=158,h=158,fill=orange,stroke='none') | rotate(15) | repeat(10, rotate(10)) rec5= rectangle(w=146,h=146,fill=yellow,stroke='none') | rotate(20) | repeat(10, rotate(10)) rec6= rectangle(w=130,h=130,fill=yellowwhite,stroke='none') | rotate(25) | repeat(10, rotate(10)) rec7= rectangle(w=120,h=120,fill='white',stroke='none') | rotate(30) | repeat(10, rotate(10)) rec=combine([rec1,rec2,rec3,rec4,rec5,rec6,rec7]) c1 = circle(x=40,r=40,fill=black,stroke="none")|repeat(6,rotate(60)) c2 = circle(x=38,r=38,fill=darkred,stroke="none")|repeat(6,rotate(60)) c3 = circle(x=36,r=36,fill=red,stroke="none")|repeat(6,rotate(60)) c4 = circle(x=34,r=34,fill=orange,stroke="none")|repeat(6,rotate(60)) c5 = circle(x=32,r=32,fill=yellow,stroke="none")|repeat(6,rotate(60)) c6 = circle(x=30,r=30,fill=yellowwhite,stroke="none")|repeat(6,rotate(60)) c7 = circle(x=28,r=28,fill="white",stroke="none")|repeat(6,rotate(60)) c =combine([c1,c2,c3,c4,c5,c6,c7]) s1=rectangle(x=-18,y=18,h=36,w=36,fill="white",stroke="none") s2=rectangle(x=-18,y=18,h=36,w=36,fill=red,stroke="none")|rotate(40) s3=rectangle(x=-18,y=18,h=36,w=36,fill=black,stroke="none")|rotate(80) s4=rectangle(x=-18,y=18,h=36,w=36,fill=yellow,stroke="none")|rotate(120) s5=rectangle(x=-18,y=18,h=36,w=36,fill=red,stroke="none")|rotate(160) s6=rectangle(x=-18,y=18,h=36,w=36,fill=black,stroke="none")|rotate(200) s7=rectangle(x=-18,y=18,h=36,w=36,fill=yellow,stroke="none")|rotate(240) s8=rectangle(x=-18,y=18,h=36,w=36,fill=red,stroke="none")|rotate(280) s9=rectangle(x=-18,y=18,h=36,w=36,fill=black,stroke="none")|rotate(320) s = combine([s2,s3,s4,s5,s6,s7,s8,s9,s1]) t1 = rectangle(x=-5.5,y=5.5,h=10,w=8,fill=midblue,stroke="none") t2 = rectangle(x=-15.5,y=5.5,h=10,w=8,fill=green,stroke="none") t3 = rectangle(x=-28,y=5.5,h=10,w=12,fill="red",stroke="none") t4 = rectangle(x=-17.5,y=17.5,h=10,w=33,fill=yellow,stroke="none") t5 = rectangle(x=-6.5,y=29.5,h=10,w=10,fill="blue",stroke="none") t6 = rectangle(x=-23,y=29.5,h=10,w=21,fill=aqua,stroke="none") t=combine([s1,t1,t2,t3,t4,t5,t6]) show(rec,c,s,t)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login