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
worli rough sketch 2.0
By
ARJUN
Run
r = rectangle(x=0,y=0,w=300,h=300,fill="#FFFFFF") def worli(): z = line(x1=0,y1=0,x2=-50,y2=50,stroke="black", stroke_width=5) + line(x1=0,y1=0,x2=50,y2=50, stroke_width=5) + line(x1=-50,y1=50,x2=50,y2=50, stroke_width=5) z1 = z | rotate(180) c = circle(x=0,y=100,r=40,stroke="black", stroke_width=5) z2 = line(x1=50,y1=50,x2=100,y2=0, stroke_width=5) + line(x1=100,y1=0,x2=150,y2=50, stroke_width=5) z3 = z2 | rotate(270) z4 = line(x1=-50,y1=50,x2=-100,y2=0, stroke_width=5) + line(x1=-100,y1=0,x2=-150,y2=50, stroke_width=5) return z+z1+c+z2+z3+z4 w = worli() | scale(0.30) | rotate(90) | translate(x=100) | repeat(12, rotate(30)) show(r,w)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login