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
Sahals first art
By
Muhammed Sahal
Run
r1 = rectangle(w=200,h=35,fill="white") c1 = circle(r=125,fill="turquoise",stroke="crimson") petal = ellipse(x=0,y=10,w=10,h=20,fill="crimson") flower= petal | repeat(12,rotate(30)) flower_link = flower | translate(x=30,y=30) | repeat (8,rotate(45)) e1 = flower_link | repeat(3,scale(1.5)) show(c1,e1) def path(d, stroke_width=1, fill="teal", stroke="black"): return Shape("path", d=d, stroke_width=stroke_width, fill=fill, storke=stroke) d = "M 4 8 L 10 1 L 13 0 L 12 3 L 5 9 C 6 10 6 11 7 10 C 7 11 8 12 7 12 A 1.42 1.42 0 0 1 6 13 A 5 5 0 0 0 4 10 Q 3.5 9.9 3.5 10.5 T 2 11.8 T 1.2 11 T 2.5 9.5 T 3 9 A 5 5 90 0 0 0 7 A 1.42 1.42 0 0 1 1 6 C 1 5 2 6 3 6 C 2 7 3 7 4 8 M 10 1 L 10 3 L 12 3 L 10.2 2.8 L 10 1" dagger = path(d, stroke_width=1/3, fill="teal") | scale(3) | rotate(45) | translate(y=-28, x=23) #show(dagger) shape = dagger | translate(x=80) | repeat(18, rotate(20)) show(shape)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login