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
UKnowWhoIm
By
Sidharth Ajithkumar
Run
c = circle(fill="orange") shapes = [c] shapes.append(circle(r=50, fill="black")) NUM = 40 for i in range(NUM): shapes.append(ellipse(stroke="red") | rotate((360 / NUM) * i)) X = 16 colors = ["purple", "red", "pink", "orange"] for i in range(X): shapes.append(ellipse(fill=colors[i%4]) | rotate((360 / X) * i) | scale(0.5)) shapes.append(circle(r=35, fill="pink")) for i in range(X): shapes.append(ellipse(fill=colors[i%4]) | rotate((360 / X) * (X-i)) | scale(0.35)) show(*shapes)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login