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
6
ANJANA S NAIR_2024_MEC(DESIGN4)
By
ANJANA NAIR
Run
c2=circle(r=10,fill="#964B00") c3=Circle(Point(x=-18, y=15), radius=15,fill="#FFFBED",stroke="#FFFBED") c4=Circle(Point(x=18, y=15), radius=15,fill="#FFFBED",stroke="#FFFBED") c5=Circle(Point(x=0, y=30), radius=15,fill="white",stroke="#FFFBED") e=Ellipse(Point(x=0, y=23), width=8, height=18,fill="#ffcf49",stroke="#ffcf49") c1=c2+c3+c4+c5+e c=c1|translate(x=-140,y=-140) show(c) c=c1|translate(x=140,y=120) show(c) c=c1|translate(x=-140,y=120) show(c) c=c1|translate(x=140,y=-140) show(c) c=circle(x=-5,y=1.5,r=25,fill='yellow') show(c) r1=rectangle(x=0, y=0, h=13,w=300,fill="tomato",stroke_width="0") | rotate(0) r2 = rectangle(x=0, y=0, h=13,w=300,fill="red",stroke_width="0") | rotate(5) r3 = rectangle(x=0, y=0, h=13,w=300,fill="darkorange",stroke_width="0") | rotate(10) r4=rectangle(x=0, y=0, h=13,w=300,fill="orange",stroke_width="0") | rotate(15) r5 = rectangle(x=0, y=0, h=13,w=300,fill="#ffde05",stroke_width="0") | rotate(20) r6 = rectangle(x=0, y=0, h=13,w=300,fill="#fffade",stroke_width="0") | rotate(25) full=combine([r1+r2+r3+r4+r5+r6])|repeat(7,rotate(30)) outer=full|repeat(2,scale(0.95)|rotate(5)) cir=circle(r=135,fill="white",stroke="none") show(outer,cir) r=rectangle(w=190,h=190,fill="maroon",stroke="none")|rotate(9)|repeat(12,rotate(18)) show(r) r=rectangle(w=180,h=180,fill="yellow",stroke="none")|rotate(18)|repeat(12,rotate(18)) show(r) r=rectangle(w=170,h=170,fill="darkorange",stroke="none")|rotate(9)|repeat(12,rotate(18)) show(r) c=circle(r=100,fill='white') show(c) d=line(x1=25,y1=0,x2=100,y2=0,stroke='darkred',stroke_width=2) d1=d|repeat(36,rotate(10)) e=circle(r=25, fill='white') show( d1, e) c=circle(x=100,y=0,r=4,fill='maroon')|repeat(36,rotate(10)) show(c) shape=circle(x=50,y=0,r=40,fill='yellow')|repeat(6,rotate(60)) show(shape) shape=circle(x=50,y=0,r=35,fill='white')|repeat(6,rotate(60)) show(shape) shape=circle(x=0,y=0,r=75,fill='orange') show(shape) c=circle(r=150,fill=color(r=0,g=30,b=0),stroke="none") r=rectangle(w=100,h=100,fill="darkred",stroke="none")|repeat(12,rotate(18)) show(r) c=circle(x=-2,y=0,r=50,fill='white') show(c) c=circle(x=-5,y=1.9,r=25,fill='yellow',stroke='orange',stroke_width=3) show(c) z2 = line(x1=-10,y1=-2,x2=3,y2=-15,stroke_width=2) show(z2) r = rectangle(x=-5,y=-15,w=40,h=14,fill='black') p1 = point(x=15,y=-8) p2 = point(x=30,y=0) p3 = point(x=15,y=-21) r1 = polygon([p1,p2,p3],fill='black') p4 = point(x=-25,y=-8) p5 = point(x=-25,y=-21) p6 = point(x=-40,y=0) r2 = polygon([p4,p5,p6],fill='black') show(r,r1,r2) print('happy onam')
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login