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
arcs
By
Anand Chitipothu
Run
# creating the basic shape two arcs using path # the following are the parameters to control the shape of it r = 100 dx = 50 p1 = 130 p2 = 120 arc = Shape( "path", d=f"M -{r} 0 C -{r-dx} -{p1} {r-dx} -{p1} {r} 0 C {r-dx} -{p2} -{r-dx} -{p2} -{r} 0", fill="red", stroke="none") | rotate(90) | translate(x=20) | scale(1.2) # Once we have an arc, we make a ring and repeat it ring = arc + (arc | scale(x=-1)) rings = ring | repeat(20, scale(0.83) | rotate(30)) show(rings)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login