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
New Sketch
By
Harsha Anand P P
Run
# eye pattern def eye(x, y, w, outer, inner): s = ellipse(x=x, y=y, w=w, h=w/2, fill=outer, stroke="none") + circle(x=x, y=y, r=w/6, fill=inner, stroke="none") return s e1 = eye(75, 0, 50, "#fefe33", "#ff6347") | repeat(12, rotate(360/12)) e2 = eye(35, 0, 25, "#ff6347", "#fefe33") | repeat(24, rotate(360/18)) e3 = eye(17, 0, 13, "#fefe33", "#ff6347") | repeat(32, rotate(360/20)) show(e1, e2, e3)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login