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
Happy Onam.................
By
Ibrahim
Run
c1 = circle(x=0,y=0,r=150,fill="red",stroke="none") c3=circle(r=143,fill="orange") c4=circle(r=136,fill="Yellow") c5=circle(r=129,fill="Green") c6=circle(r=122,fill="blue") c7=circle(r=117,fill="indigo") c8=circle(r=110,fill="violet") f=(2*(150**2))**0.5 r1=rectangle(w=f,h=f,fill="orange",stroke="none")|rotate(45)|scale(x=0.5)|repeat(8,rotate(45)) c2=circle(r=100,fill='orange',stroke='red',stroke_width=6) dot= circle(r=10,y=115,fill="green",stroke="#000000") dotin = circle(r=5,y=115,fill="blue",stroke="#000000") dotin2 = circle(r=15,y=115,fill="white",stroke="#000000") dotc = dotin2+dot+dotin dotc2 = dotc | translate(y=-230) kp = dotc+dotc2 | repeat(4,rotate(45)) s5=ellipse(w=265,h=100,fill="yellow ",stroke="none")|rotate(35)|scale(x=0.5)|repeat(12,rotate(30)) a4 = circle(r=80,fill="green",stroke="none",stroke_width=3) c12=circle(r=60,fill="indigo") a1 = ellipse(x=0,w=160,h=60,fill="blue",stroke="none",stroke_width=2) | repeat(6,rotate(45)) a2 = rectangle(x=0,w=80,h=80,fill="violet",stroke="none",stroke_width=2) | repeat(8,rotate(75)) a3 = rectangle(x=0,w=70,h=70,fill="white ",stroke="none",stroke_width=2) | repeat(8,rotate(75)) a6 = rectangle(x=0,w=60,h=60,fill="cyan ",stroke="none",stroke_width=2) | repeat(8,rotate(75)) a7 = rectangle(x=0,w=50,h=50,fill="blue",stroke="none",stroke_width=2) | repeat(8,rotate(75)) a8 = rectangle(x=0,w=40,h=40,fill="gold",stroke="none",stroke_width=2) | repeat(8,rotate(75)) a9 = rectangle(x=0,w=30,h=30,fill="red ",stroke="none",stroke_width=2) | repeat(8,rotate(75)) a10 = rectangle(x=0,w=20,h=20,fill="OliveDrab ",stroke="none",stroke_width=2) | repeat(8,rotate(75)) a11 = rectangle(x=0,w=10,h=10,fill="SteelBlue",stroke="none",stroke_width=2) | repeat(8,rotate(75)) #a5=rectangle(w=15,h=5,fill="red") show(c1,c3,c4,c5,c6,c7,c8,r1,c2,kp,s5,a4,a1,c12,a2,a3,a6,a7,a8,a9,a10,a11)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login