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
1
code-a-pookalam
By
Malavika Rajesh
Run
c1 = circle(r=150,fill='#5c0c05',stroke='none') c3 = circle(x=70,y=18,r=6,fill='white',stroke='none')|repeat(12,rotate(30)) c4 = circle(x=95,y=55,r=6,fill='yellow',stroke='none')|repeat(12,rotate(30)) r1 = rectangle(w=100,h=100,stroke='none',fill='#fae20a')|repeat(10,rotate(30)) r2 = rectangle(w=185,h=185,stroke='none',fill='orange')|repeat(10,rotate(30)) r3 = rectangle(w=210,h=200,stroke='none',fill='#e00707')|repeat(12,rotate(15)) t1 = point(x=0,y=0) t2 = point(x=11,y=30) t3 = point(x=0,y=52) t4 = point(x=-11,y=30) p1 = polygon([t1,t2,t3],fill='#5c0c05',stroke='none')|repeat(9,rotate(40)) p2 = polygon([t1,t4,t3],fill='white',stroke='none')|repeat(9,rotate(40)) e1 = ellipse(w=190,h=50,fill='#5c0c05',stroke='none')|repeat(6,rotate(30)) e2 = ellipse(w=220,h=50,fill='#eb0e0e',stroke='none')|repeat(6,rotate(30)) show(c1,r3,r2,e2,e1,r1,p1,p2,c3,c4)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login