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
5
Ice cream fallen down.
By
Samrudh N
Run
#Fallen down ice cream - minimalism(B&W) #Co-ordinate points for triangle. p1 = point(0,65) p2 = point(-20,0) p3 = point(20,0) #base color base_color = rectangle(w=300,h=300, fill="#FFFFFF", stroke="none") #ice cream cone triangle_one = polygon([p1,p2,p3], fill="#FFFFFF", stroke="none")|translate(0,-26) black_upper = rectangle(0,100,w=600,h=250, fill="#000000", stroke="none") ice_cream_cone = combine([black_upper, triangle_one]) |rotate(-14) #fallen ice cream scoop. ellipse_one = ellipse(w=50, h=30, fill="#000000", stroke="none") ellipse_two = ellipse(w=75, h=15, fill="#000000", stroke="none") |translate(0, -12) ellipse_three = ellipse(w=15, h=5, fill=color(r=0,g=0,b=0,a=0.7), stroke="none") |translate(-30,-30) ice_cream_scoop = combine([ellipse_one, ellipse_two, ellipse_three]) |translate(-11,-33) fallen_ice_cream_cone = base_color + ice_cream_scoop + ice_cream_cone show(fallen_ice_cream_cone)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login