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
pookalam
By
Jacob
Run
c = Circle(radius=150,fill="pink") show(c) r= Rectangle(width=50,height=50,fill="orange",center=Point(0,0)) r1= r | Rotate(angle=45)| Scale(1/SQRT2) r2= r1 |Translate(120,0) rchain= r2 | Repeat(20, Rotate(angle=18)) show(r2) show(rchain) r3= Rectangle(width=50,height=50,fill="yellow",center=Point(0,0)) r4= r3 | Rotate(angle=45)| Scale(1/SQRT2) r5= r4 |Translate(110,0) rchain1= r5 | Repeat(20, Rotate(angle=18)) show(rchain1) r6= Rectangle(width=50,height=50,fill="blue",center=Point(0,0)) r7= r6 | Rotate(angle=45)| Scale(1/SQRT2) r8= r7 |Translate(100,0) rchain2= r8 | Repeat(20, Rotate(angle=18)) show(rchain2) c1= Circle(radius=110,fill="green",stroke="transparent") show(c1) c2= Circle(radius=23,fill="orange",center=Point(x=87,y=0)) c2chain= c2| Repeat(12,Rotate(angle=30)) show(c2chain) c3= Circle(radius=19,fill="blue",center=Point(x=75,y=0)) c3chain= c3| Repeat(12,Rotate(angle=30)) show(c3chain) c4= Circle(radius=17,fill="yellow",center=Point(x=65,y=0)) c4chain= c4| Repeat (12,Rotate(angle=30)) show(c4chain) c5= Circle(radius=65,fill="red") show(c5) c6= Circle(radius=55,fill="yellow") show(c6) c7= Circle(radius=45,fill="white") show(c7) e1=ellipse(w=30,h=17,x=20,y=0,stroke='#9e0808',stroke_width=3,fill="#f4ff59") | rotate(22.5) petal=e1 | repeat(9, rotate(45)) show(petal)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login