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
Atomic Onam
By
Bobby Thomas Thomas
Run
center_x = 0 center_y = 0 c10= rectangle (b=30,w=30) c11= circle (r=40,fill="yellow") c1=circle (r=30,fill="red") oc = circle(x=center_x, y=center_y, r=147, fill="radial-gradient(#FF6200, #FFA500)", stroke="none") show(oc,c10,c11,c1) c2=ellipse (r=30,stroke="none") | rotate (60) c3=ellipse (r=30) | rotate (120) c4=ellipse (r=30) | rotate (180) c5=ellipse (r=30) | rotate (240) c6=ellipse (r=30) | rotate (300) c7=ellipse (r=30) | rotate (360) ic = circle(x=center_x, y=center_y, r=140, fill="radial-gradient(#006400, #008000)", stroke="none") show(ic,c3,c4,c5,c6,c7,c2) sqr = rectangle(w=200, h=200, fill="radial-gradient(#FF4500, #FF6347)", stroke="none") | repeat(12, rotate(30)) show(sqr) colors = ["#FFD700", "#FFA500", "#FF8C00", "#FF6347", "#8B4513"] rectangles = [rectangle(w=190 - i * 10, h=190 - i * 10, fill=f"radial-gradient(white, {colors[i]})", stroke="none") | repeat(20, rotate(18)) for i in range(5)] show(*rectangles) ellipses = [ellipse(w=200 - i * 10, h=100 - i * 5, fill=f"radial-gradient(white, {colors[i]})", stroke="none") | repeat(12, rotate(30)) for i in range(3)] show(*ellipses) inner_rectangles = [rectangle(w=110 - i * 10, h=110 - i * 10, fill="radial-gradient(white, {colors[i]})", stroke="none") | repeat(12, rotate(30)) for i in range(6)] show(*inner_rectangles) circle_colors = ["#FFD700", "#FFFFFF"] circles = [circle(x=center_x, y=center_y, r=50 - i * 10, fill="radial-gradient({circle_colors[i]}, {circle_colors[(i + 1) % 2]})", stroke="none") for i in range(2)] show(*circles) center_ellipses = [ellipse(w=30, h=17, x=center_x, y=center_y, stroke=colors[i], stroke_width=20 - i * 8, fill="yellow") | repeat(10, rotate(35)) for i in range(4)] show(*center_ellipses)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login