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
Sketch 1
By
Fathima.k
Run
c1 = circle(r=149, fill="#FF2226",stroke = "yellow", stroke_width = 5) show(c1) fill = color(r=0,g=78,b=255,a=1) c2 = circle(r=125, fill=fill,stroke = "none") show(c2) c3 = circle(r=105, fill="yellow", stroke="magenta", stroke_width=2) | repeat(23, rotate(30)) show(c3) fill = color(r=240,g=20,b=0,a=0.5) c4 = circle(x=30, y=30, r=30, fill=fill, stroke="blue") | repeat(23, rotate(30)) show(c4) def dot(x, y): fill = color(r=255, g=243, b=0, a=1) c = circle(x=x, y=y, r=5, fill=fill) return c d1 = dot(x=0, y=0) show(d1) d2 = dot(x=125, y=0) | repeat(75, rotate(5)) show(d2) s1 = rectangle(w=150, h=150, stroke="black", stroke_width=2) | repeat(9, rotate(10)) show(s1)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login