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
Natasha K
Run
c1 = color(r=255, g= 201, b=14) c2 = color(r=255, g=218, b=89) outer_circle = circle(r=150, fill="black") #outer layer outer_sublayer_01 = rectangle (w=209,h=209,fill=" green", stroke="green") | repeat (15,rotate(30)) outer_sublayer_02 = rectangle (w=193,h=193,fill="red", stroke="red")|rotate(15) | repeat (15,rotate(30)) outer_sublayer_03 = rectangle (w=178,h=178,fill="orange", stroke="orange")|rotate(0) | repeat (15,rotate(30)) outer_sublayer_04 = rectangle (w=165,h=165,fill="yellow", stroke="yellow")|rotate(15) | repeat (15,rotate(30)) outer_sublayer_05 = rectangle (w=153,h=153,fill="white", stroke="white")|rotate(0) | repeat (15,rotate(30)) outer_sublayer_06 = rectangle (w=100,h=10,x=-50,y=0,fill="black", stroke="black") outer_sublayer_07 = line( x1=0,y1=50,x2=0,y2=-50,fill="Yellow", stroke="Orange") p1 = point(x=0, y=0) p2 = point(x=10, y=0) p3 = point(x=-10, y=-50) p4 = point(x=-150, y=-50) outer_sublayer_08 = polygon([p1, p2, p3,p4])|rotate(360) show(outer_circle, outer_sublayer_01,outer_sublayer_02, outer_sublayer_03,outer_sublayer_04, outer_sublayer_05,outer_sublayer_06,outer_sublayer_07,outer_sublayer_08)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login