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
Monkey
By
Anand Chitipothu
This sketch was created using an old version of the library.
Run
def head(x, y, d): circle(x, y, d) def ear(x, y, d): circle(x, y, d) circle(x, y, d/2) # draw a small ring at the bottom of the ear # let the ring be of size d/5 bottom_x = x bottom_y = y + d/2 circle(bottom_x, bottom_y, d/5) def monkey(x, y, d): d1 = d d2 = d/2 x1 = x - d1/2 - d2/2 y1 = y x2 = x + d1/2 + d2/2 y2 = y head(x, y, d1) ear(x1, y1, d2) ear(x2, y2, d2) monkey(150, 150, 100) # monkey(50, 50, 50) # monkey(250, 50, 50) # monkey(250, 250, 50) # monkey(50, 250, 50)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login