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
Aiswarya Pradeep
Run
c = circle(r=150) show(c) f = color(r=173, g=20, b=30) c = circle(r=143) show(c) p1 = point(x=87, y=0) p2 = point(x=100, y=6.5) p3 = point(x=113, y=0) p4 = point(x=100, y=-6.5) shape = polygon([p1, p2, p3, p4]) | repeat(48, rotate(7.5)) show(shape) p1 = point(x=135, y=0) p2 = point(x=143, y=10) p3 = point(x=150, y=0) p4 = point(x=143, y=-10) shape = polygon([p1, p2, p3, p4], fill=f, stroke=f) | repeat(48, rotate(7.5)) show(shape) p1 = point(x=113, y=0) p2 = point(x=124, y=8) p3 = point(x=135, y=0) p4 = point(x=124, y=-8) shape = polygon([p1, p2, p3, p4]) | repeat(48, rotate(7.5)) show(shape)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login