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
2
Tech Sias
By
Jithin M
Run
#Head #Background a = rectangle(w=400, h=300, fill='white', stroke='none') #Top left lines z1 = line(x1=-135, y1=50, x2=-30, y2=100, stroke='#4EA2F7', stroke_width=20) z2 = line(x1=-135, y1=50, x2=-30, y2=5, stroke='#4EA2F7', stroke_width=20) #Top right lines z3 = line(x1=30, y1=5, x2=135, y2=50, stroke='#4EA2F7', Stroke_width=20) z4 = line(x1=30, y1=100, x2=135, y2=50, stroke='#4EA2F7', stroke_width=20) #Curved Upper Corners s1 = circle(x=-30, y=100, r=9, stroke= '#4EA2F7', fill='#4EA2F7') s2 = circle(x=30, y=100, r=9, stroke= '#4EA2F7', fill='#4EA2F7') s3 = circle(x=-30, y=5, r=9, stroke= '#4EA2F7', fill='#4EA2F7') s4 = circle(x=30, y=5, r=9, stroke= '#4EA2F7', fill='#4EA2F7') s5 = circle(x=-135, y=50, r=9, stroke= '#4EA2F7', fill='#4EA2F7') s6 = circle(x=135, y=50, r=9, stroke= '#4EA2F7', fill='#4EA2F7') #Bottom Lines k1 = line(x1=-78, y1=10, x2=-78, y2=-45, stroke= '#000C66', stroke_width=20) k2 = line(x1=78, y1=10, x2=78, y2=-45, stroke= '#000C66', stroke_width=20) k3 = line(x1=-78, y1=-45, x2=0, y2=-70, stroke='#000C66', stroke_width=20) k4 = line(x1=78, y1=-45, x2=0, y2=-70, stroke= '#000C66', stroke_width=20) #Curved Bottom Corners c1 = circle(x=-77, y=-45, r=10 ,stroke= '#000C66', fill='#000C66') c2 = circle(x=77, y=-45, r=10 ,stroke= '#000C66', fill='#000C66') c3 = circle(x=0, y=-75, r=5,stroke= '#000C66', fill='#000C66') #Inclined Cuts r1 = rectangle(x=-76, y=-25, w=31, h=10, stroke='none', fill='white') | rotate(-25) r2 = rectangle(x=76, y=-25, w=31, h=10, stroke='none', fill='white') | rotate(25) #Final OutPut show(a, z1, z2, z3, z4, s1, s2, s3, s4, s5, s6, k1, k2, k3, k4, c1, c2, c3, r1, r2,)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login