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
pookkalam
By
Helen Tresa Thomas
Run
c = circle(r=100) n=20 cr1=color(r=255,g=0,b=0,a=0.2) cr2=color(r=255,g=150,b=50,a=0.2) cr3=color(r=255,g=255,b=0,a=0.2) cr4=color(r=255,g=255,b=255,a=0.2) for i in range(10): c1=circle(r=50,x=50,fill=cr1,stroke_width=1.2)|rotate(n) c2=circle(r=50,x=50,fill=cr2,stroke_width=1.2)|rotate(n+20) c3=circle(r=50,x=50,fill=cr3,stroke_width=1.2)|rotate(n+40) c4=circle(r=50,x=50,fill=cr3,stroke_width=1.2)|rotate(n+60) show(c,c1,c2,c3,c4) n=n+40 c5=circle(r=65,fill="blue") r1=rectangle(w=110,h=60,fill="white",stroke="none") r2=rectangle(w=60,h=110,fill="white",stroke="none") r3=rectangle(w=90,h=90,fill="white",stroke="none") r11=rectangle(w=110,h=60,fill="red",stroke="none")|rotate(45) r22=rectangle(w=60,h=110,fill="red",stroke="none")|rotate(45) r33=rectangle(w=90,h=90,fill="red",stroke="none")|rotate(45) c6=circle(r=55,fill="green") c7=circle(r=45,fill="yellow") c8=circle(r=33,fill="green") c9=circle(r=30,fill="white") rsw1=rectangle(w=90,h=60,fill="white",stroke="none") rsw2=rectangle(w=60,h=90,fill="white",stroke="none") rsw3=rectangle(w=60,h=60,fill="white",stroke="none") rsr1=rectangle(w=90,h=60,fill="red",stroke="none")|rotate(45) rsr2=rectangle(w=60,h=90,fill="red",stroke="none")|rotate(45) rsr3=rectangle(w=60,h=60,fill="red",stroke="none")|rotate(45) c10=circle(r=17,fill="red",stroke="none") c11=circle(r=5,x=10)|repeat(20,rotate(30)) c12=circle(r=8,fill="white",stroke="none") c13=circle(r=3,fill="white",stroke="none") c14=circle(r=2,fill="red",stroke="none") show(c5,r11,r22,r1,r2,r33,r3,c6,rsr1,rsr2,rsw1,rsw2,c7,rsr3,rsw3,c8,c9) rect1=rectangle(w=20,h=20,x=10,y=10,fill="orange",stroke="none") rect2=rectangle(w=20,h=20,x=10,y=10,fill="yellow",stroke="none")|rotate(45) rect3=rect1|rotate(90) rect4=rect2|rotate(90) rect5=rect3|rotate(90) rect6=rect4|rotate(90) rect7=rect5|rotate(90) rect8=rect6|rotate(90) show(rect1,rect2,rect3,rect4,rect5,rect6,rect7,rect8,c12,c10,c11,c13,c14)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login