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
pookkalam1
By
Samyuktha P
Run
#pookalam1 fill1 = color (r=220,g=39,b=133) c = circle(r = 150, fill = fill1, stroke = "none") show(c) ellipse1 = ellipse(w = 300, h = 300/4, fill = "#F8E63D", stroke = "purple") | repeat(9, rotate(angle=20)) show(ellipse1) ellipse2 = ellipse(w = 230, h = 230/3, fill = "#ff4102", stroke = "brown") | repeat(9, rotate(angle=20)) show(ellipse2) c1 = circle(r = 80, fill ="yellow", stroke = "brown") show(c1) c2 = circle(r = 63, fill ="#F36636", stroke = "brown") c3 = circle(r = 45, fill ="white", stroke = "brown") x = combine([c2,c3]) show(x) def square(color, side, color1): return rectangle(w=side, h=side, fill = color, stroke = color1) sqr = square(side=63.5, color = "purple", color1 = "blue")|repeat(5, rotate(angle=30)) show(sqr) c4 = circle(r=31.75, fill = "orange") c5 = circle(r=20, fill = "pink") y = combine([c4,c5]) show(y) ellipse3 = ellipse(w = 20, h = 20/3, fill = "#a92822") | repeat(5, rotate(angle=36)) show(ellipse3) c6 = circle(r=20/3, fill = "green") c7= circle(r=3.5, fill = " lightgreen") z = combine([c6,c7]) show(z)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login