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
tinkerhub staffs rock 🤘🤘🤘🤘🤘🤘🤘
By
Tamton Aquib
Run
l, p = line, point def up(): # pretty minimal head e = ellipse(w=50, h=75, y=100) | rotate(-10) | translate(x=-12) return e + l(x1=-10, y1=65, x2=-10, y2=50) + l(x1=10, y1=62, x2=10, y2=50) def u(): noice1 = [p(-50, 25), p(-22, 50), p(-15, -150), p(-50, -150)] noice2 = [p(50, 25) , p(22, 50) , p(15, -150) , p(50, -150)] return polygon(noice1, fill="#231910") + polygon(noice2, fill="#231910") def gonna(): s = [p(-3,20), p(3, 20), p(3, -150), p(-3, -150)] stand = polygon(s, fill="#917d87") nice = [p(-6,20), p(-6,53), p(6,53), p(6,20)] return stand + polygon(nice, fill="#736862") def never(): one = l(x1=-50, y1=25, x2=-100, y2=-50, stroke_width=3) + l(x1=-100, y1=-50, x2=-25, y2=-25, stroke_width=3) + l(x1=50, y1=18, x2=69, y2=-50, stroke_width=3) + l(x1=69, y1=-50, x2=100, y2=-40, stroke_width=4) two = l(x1=-50, y1=25, x2=-10, y2=61) + l(x1=50, y1=17, x2=10, y2=61) return one + two def give(): noice = [] y = 10 for i in range(8): noice.append(l(x1=-25, y1=y, x2=25, y2=y, stroke_width=0.9)) y -= 8 c = color(r=117, g=106, b=99, a=0.5) belt = l(x1=-20, y1=y-20, x2=20, y2=y-20, stroke_width=10, stroke=c) return sum(noice, belt) a_very_useful_dictionary_coz_u_shouldnt_see_the_content = {"up": up, "gonna": gonna, "give": give, "u": u, "never": never} for word in "NEVER GONNA GIVE U UP".lower().split(): show(a_very_useful_dictionary_coz_u_shouldnt_see_the_content[word]())
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login