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
mon school
By
Joseph Johnson
Run
bg = rectangle(w=500,h=500,fill='white') show(bg) def square(side, color): return rectangle(w=side, h=side, fill=color,stroke='none') def circ(r,w,color): return circle(r=r, stroke_width=w, stroke=color) rect = rectangle(w=7, h=15, fill='#24313D',stroke='none') #m r1 = rect | translate(x=-10, y=-9) r2 = rect | translate(x=10, y=-9) c1 = circ(r=10, w=5, color='#24313D') s1 = square(side=30, color='white') | translate(y=-15) m_half = r1+r2+c1 | scale(2) m_half1 = m_half + s1 m_half2 = m_half1 | scale(x=-1) | translate(x=40) m = m_half1 + m_half2 | scale(0.5) | translate(x=-100) show(m) c_white = circ(r=30, w=10, color='white') #show(c_white)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login