New Sketch

By Naswih

        
Comments
Anand Chitipothu
2 years ago
Post
Dismiss
Beautiful! You can do the same a lot more elegantly once you learn how to rotate and repeat. Try this: ``` n = 8 shape = circle(x=50, y=0, r=50) | repeat(n, rotate(360/n)) show(shape) ``` And play with different values of `n` and see you get.
Beautiful! You can do the same a lot more elegantly once you learn how to rotate and repeat. Try this: ``` n = 8 shape = circle(x=50, y=0, r=50) | repeat(n, rotate(360/n)) show(shape) ``` And play with different values of `n` and see you get.
Want to discuss?
Post it here, our mentors will help you out.