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
Amritha Nair
Run
c = circle(r=150,fill="orange",stroke="red") show(c) def square(w,h,): return rectangle(w=w, h=w, fill=h, stroke="none") l1 = square(w=208,h="red") | repeat(10, rotate(10)) l2 = square(w=190,h="white") | rotate(5)|repeat(10, rotate(10)) show(l1,l2) r=rectangle(w=180,h=180,fill="yellow") show(r) r2=rectangle(w=150,h=150,fill="blue") show(r2) r3=rectangle(w=100,h=100,fill="green") show(r3) r4=rectangle(w=50,h=50,fill="yellow") show(r4) shapeCircle= circle(r=50,fill="white",a=0.5) innerCircle = circle(r=20,fill="yellow") innerCircle2 = circle(r=15,fill="orange") innerCircle3 = circle(r=10,fill="red") innerCircle4 = circle(r=5,fill="black") show(shapeCircle,innerCircle,innerCircle2,innerCircle3,innerCircle4)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login