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
Squares in a circle
By
Anand Chitipothu
Run
bg = Rectangle(width=300, height=300, fill="#fcbf49", stroke="none") r = Rectangle(center=Point(x=100, y=0), width=30, height=30, fill="#d62828", stroke="none") z = Line(start=Point(x=20, y=20), end=Point(x=100, y=0), stroke="#d62828", stroke_width=2) rz = r+z n = 12 shape = rz | Repeat(n, Rotate(angle=360/n)) show(bg, shape)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login