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
pookalam1
By
Sneha Sani
Run
c = circle(r=150, fill='#134707') show(c) def c(color, radius): return circle(r=radius, fill=color, stroke='none') def square(color, side): return rectangle(w=side, h=side, fill=color, stroke='none') green_layer = square(side=212.5,color='#4f913f') | repeat(10, rotate(10)) yellow_layer = square(side=196, color='#F8E63D') | rotate(5) | repeat(10, rotate(10)) orange_layer = square(side=182, color='#F36636') | repeat(10, rotate(10)) red_layer = square(side=168, color='#a92822') | rotate(5) | repeat(10, rotate(10)) black_layer = square(side=155, color='#050f03') | repeat(10, rotate(10)) show(green_layer,yellow_layer, orange_layer, red_layer,black_layer) white_layer= c(radius=95,color='#f9f4d4') show(white_layer) 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)) 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) e=ellipse(x=11,w=22,h=10,stroke="#F36636",fill='#f7da14') e1= e | repeat(10,rotate(45)) show(e1) c=c(radius=10,color='#730c06') show(c) c2= circle(r=5,fill='#fb7525',stroke="none") show(c2)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login