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
illusion
By
Ahmed awad
Run
bud = circle(r=20,fill="#FFFF99") petal1 = ellipse(y=60,w=20,h=100,stroke="#00000",stroke_width = 2,fill="#FB5F00") petal2 = ellipse(y=40,w=20,h=50,stroke="#00000",stroke_width = 1,fill="#2A7BF7") petals = (petal1+petal2 | repeat(50,rotate(161))) flower =(bud+petals) | scale(0.4) flower_ring = flower | translate(x=105) | repeat(8,rotate(45)) bg = rectangle(x=0,y=0,h=300,w=300,fill="#FFFF99") show(bg) pookalam = flower_ring | repeat(20, scale(0.8) | rotate(45/2)) show(pookalam) p1=point(x=50,y=100) p2=point(x=0,y=0) p3=point(x=100,y=0) s=polygon ([p1,p2,p3]) | repeat(36,rotate(10)) show(s) c1 =circle(r=10) c2 =circle(r=20) c3 =circle(r=30) c4 =circle(r=40) c5 =circle(r=50) c6 =circle(r=60) c7 =circle(r=70) c8 =circle(r=80) c9 =circle(r=90) c10 =circle(r=100) c11=circle(r=110) c12 =circle(r=120) c13 =circle(r=130) c14 =circle(r=140) c15 =circle(r=150) show(c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login