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
My pookkalam
By
Rohith Nair
Run
c1 = circle(r=10,fill='#c20e2f',stroke="none") c2 = circle(r=15,fill='#fc03db',stroke="none") c3=circle(r=30,fill='#8ff2ea',stroke="none") c4=circle(r=35,fill='#188ba8',stroke="none") cout=circle(r=100,fill="#06013d",stroke="none") cin=circle(r=90,fill="#045704",stroke="#1c5911") c5=circle(r=145,fill="#011403") e1=ellipse(h=15,w=30,x=15,y=0,fill='#fcaa05',stroke="none") | repeat(12,rotate(36)) e2=ellipse(h=15,w=50,x=15,y=0,fill='#10469e',stroke="none") | repeat(100,rotate(31)) e3=ellipse(h=240,w=150,y=0,stroke="none",fill="#c20808") | repeat(8,rotate(45)) | rotate(45) e4=ellipse(h=260,w=15,stroke="none",fill="#ffff00")|repeat(100,rotate(3.6)) e5=ellipse(h=280,w=25,stroke="none",fill="#ff5900")|repeat(100,rotate(3.6)) def tridesign(x,y,colors): shape=circle(stroke='none') for i in range(3): p1=point(x=-x+i*5,y=0) p2=point(x=x-i*5,y=0) p3=point(x=0,y=y-i*5) t1=polygon([p1,p2,p3],fill=colors[i]) shape+=t1 return shape t1=tridesign(40,65,['#eb3309','#e8860e','#f0ed35']) | repeat(10,rotate(36)) p1=point(x=0,y=0) p2=point(x=0,y=90) p3=point(x=25,y=87) p4=point(x=25,y=0) t2=rectangle(h=130,w=120,fill='#540332',stroke="none")|rotate(45)|repeat(10,rotate(36)) t3=rectangle(h=120,w=120,fill='#82285d',stroke="none")|rotate(45)|repeat(10,rotate(36)) t4=rectangle(h=110,w=120,fill='#b83e85',stroke="none")|rotate(45)|repeat(10,rotate(36)) t5=rectangle(h=100,w=120,fill='#f089a4',stroke="none")|rotate(45)|repeat(10,rotate(36)) show(c5,e5,e4,e3,cout,cin,t2,t3,t4,t5,t1,e2,c4,c3,e1,c2,c1)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login