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
ExperimentalSketch
By
Pratheek Rao K B
Run
for i in range(20,140,20): c = circle(x=0,y=0,r=i,stroke="red",stroke_width=2) e = ellipse(w=2*i,h=i,stroke="pink") l1 = line(x1=i,y1=0,x2=0,y2=i,stroke="blue",stroke_width=1.5) l2 = line(x1=-i,y1=0,x2=0,y2=i,stroke="blue",stroke_width=1.5) l3 = line(x1=-i,y1=0,x2=0,y2=-i,stroke="blue",stroke_width=1.5) l4 = line(x1=i,y1=0, x2=0,y2=-i,stroke="blue",stroke_width=1.5) lines = l1+l2+l3+l4 e2 = e | rotate(90) show(e,e2,lines,c)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login