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
code-a-pookalam :)
By
Sidharth P
Run
petal = Ellipse(x=0,y=10,w=100,h=500,fill="yellow", stroke="none") flower2= petal | repeat(11,rotate(100)) show(flower2) petal = Ellipse(x=0,y=10,w=2,h=2,fill="#e74c3c", stroke="none") flower= petal | repeat(12,rotate(30)) show(flower) l4_outer_circle = circle(r=85, fill="orange") l4_inner_circle = circle(r=80, fill="yellow", stroke="none") l4_ellipse = ellipse(w=45 ,h=150, stroke="none ", fill="#e74c3c") | rotate(95) l4_inner_flower = l4_ellipse | repeat(22,rotate(15)) show(l4_outer_circle) show(l4_inner_circle) show(l4_inner_flower) l3_circle = circle(r=65, fill="yellow", stroke="none") l2_circle = circle(r=65, fill="yellow") l2_outer_circle = circle(r=40, fill="#f39c12") l2_inner_circle = circle(r=45, fill="yellow", stroke="none") l2_ellipse = ellipse(w=25 ,h=120, stroke="none ", fill="#e74c3c") | rotate(95) l2_inner_flower = l2_ellipse | repeat(22,rotate(15)) outer_circle_l1 = circle(r=50, fill="yellow") outer_circle = circle(r=40, fill="orange") inner_circle = circle(r=20, fill="yellow", stroke="black") ellipse = ellipse(w=25 ,h=100, stroke="black") | rotate(45) inner_flower = ellipse | repeat(12,rotate(30)) core_circle = circle(r=10, fill="#c0392b", stroke="black") show(l3_circle) show(l2_circle) show(l2_inner_flower) show(outer_circle_l1) show(outer_circle) show(inner_flower) show(inner_circle) show(core_circle)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login