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
Pookalam
By
Nabeel Ahmed
Run
c1= circle(r=150, fill= "#111111", stroke="none") r1 = rectangle(w=200,h=200,fill="#FF6700",stroke="none")|repeat(3,rotate(120)) r2 = rectangle(w=180,h=180,fill="#E4FF00",stroke="none")|repeat(3,rotate(120)) r3 = rectangle(w=160,h=160,fill="#F2FE8C",stroke="none")|repeat(3,rotate(120)) r4 = rectangle(w=140,h=140,fill="white",stroke="none")|repeat(3,rotate(120)) r5 = rectangle(w=130,h=130,fill="#660360",stroke="none")|repeat(3,rotate(120)) r= combine([r1,r2,r3,r4,r5]) c2= circle(r=75, fill= "#012C01", stroke="none") c3 = circle(r=19, x=0, y=50, fill="#FF7100", stroke="none") c4 = circle(r=19, x=0, y=50, fill="#FFEC00", stroke="none")|rotate(45) c5 = circle(r=19, x=0, y=50, fill="#FF1300", stroke="none")|rotate(90) c6 = circle(r=19, x=0, y=50, fill="#A20C00", stroke="none")|rotate(135) c7 = circle(r=19, x=0, y=50, fill="#CAB500", stroke="none")|rotate(180) c8 = circle(r=19, x=0, y=50, fill="#8000FF", stroke="none")|rotate(225) c9 = circle(r=19, x=0, y=50, fill="#FF7C00", stroke="none")|rotate(270) c10 = circle(r=19, x=0, y=50, fill="#E2D500", stroke="none")|rotate(315) c11 = combine([c3,c4,c5,c6,c7,c8,c9,c10]) c3 = circle(r=15, x=0, y=38, fill="#E2D500", stroke="none") c4 = circle(r=15, x=0, y=38, fill="#FF7C00", stroke="none")|rotate(45) c5 = circle(r=15, x=0, y=38, fill="#8000FF", stroke="none")|rotate(90) c6 = circle(r=15, x=0, y=38, fill="#FF1300", stroke="none")|rotate(135) c7 = circle(r=15, x=0, y=38, fill="#FFEC00", stroke="none")|rotate(180) c8 = circle(r=15, x=0, y=38, fill="#FF1300", stroke="none")|rotate(225) c9 = circle(r=15, x=0, y=38, fill="#FFEC00", stroke="none")|rotate(270) c10 = circle(r=15, x=0, y=38, fill="#FF7100", stroke="none")|rotate(315) c12 = combine([c3,c4,c5,c6,c7,c8,c9,c10]) c13 = circle(r=14, x=0, y=30, fill="#FAF088", stroke="none")|repeat(16, rotate(45)) c14 = circle(r=37, fill="#FFEB19", stroke="none") c15 = circle(r=32,fill="#FC8200", stroke="none") l1 = line(x1=-50,y1=0,x2=0,y2=0) | (rotate(22)) l2 = l1 | repeat(8, rotate(45)) l= combine([l1,l2]) c16 = circle(r=29,fill="#780E00", stroke="none") c17 = circle(r=7, x=0, y=20, fill="#002206", stroke="none")|repeat(10, rotate(36)) c18 = circle(r=20,fill="#7E0000", stroke="#130034", stroke_width=5) c19 = circle(r=10,fill="#7E0000", stroke="#F9F5BE", stroke_width=2) c20 = combine([c16,c17,c18,c19]) p1 = point(x=-10, y=0) p2 = point(x=10, y=0) p3 = point(x=10, y=110) p4 = point(x=0, y=145) p5 = point(x=-10, y=110) t1 = polygon([p1, p2, p3,p4,p5], fill="#FDE55B", stroke="none" ) | repeat(12, rotate(30)) p1 = point(x=-10, y=0) p2 = point(x=10, y=0) p3 = point(x=10, y=100) p4 = point(x=0, y=120) p5 = point(x=-10, y=100) t2 = polygon([p1, p2, p3,p4,p5], fill="#FE9200", stroke="none" ) | repeat(12, rotate(30)) p1 = point(x=-10, y=0) p2 = point(x=10, y=0) p3 = point(x=10, y=90) p4 = point(x=0, y=110) p5 = point(x=-10, y=90) t3 = polygon([p1, p2, p3,p4,p5], fill="#02001F", stroke="none" ) | repeat(12, rotate(30)) t= combine([t1,t2,t3]) # only partial printing show(c1,r)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login