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
mohammedafeef
Run
def square(color, side): return rectangle(w=side, h=side, fill=color, stroke='none') light_yellow_layer = square(side=140,color='#fbfc5a') | repeat(10, rotate(30)) yellow_layer = square(side=115, color='#f7da14') | rotate(15) | repeat(10, rotate(30)) orange_layer = square(side=93, color='#F36636') | repeat(10, rotate(30)) | scale(1.3) red_layer = square(side=75, color='#a92822') | rotate(15) | repeat(10, rotate(30)) maroon_layer = square(side=58, color='#620706') | repeat(10, rotate(30)) black_layer = square(side=40, color='#0d0101') | rotate(15) | repeat(10, rotate(30)) show(light_yellow_layer,yellow_layer,orange_layer,red_layer,maroon_layer,black_layer)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login