summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/metapost/bclogo/bc-nucleaire.mp
blob: e323ebb48a6e3a31994a4c4cdaabb04b89b60899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
prologues:=1;
outputtemplate:="%j.mps";
beginfig(1);
path p[];
filldraw fullcircle scaled(600);
filldraw fullcircle scaled(550) withcolor(241/256,205/256,67/256);
filldraw fullcircle scaled(100);
p1:=fullcircle scaled(500);
p2:=p1 cutafter (point(4/3) of(p1));
p3:=fullcircle scaled(150);
p4:=p3 cutafter (point(4/3) of(p3));
p10:=(75,0)--(250,0)..p2--reverse(p4)..cycle;
filldraw p10;
filldraw (p10 rotated(120));
filldraw (p10 rotated(240));

r:=17pt/(xpart(urcorner(currentpicture))-xpart(ulcorner(currentpicture)));
picture pic;
pic:=currentpicture;
currentpicture:=nullpicture;
drawoptions();
draw pic scaled(r);
z0=.5*urcorner(currentpicture)+.5*ulcorner(currentpicture);
z1=.5*lrcorner(currentpicture)+.5*llcorner(currentpicture);
draw (z0+(10.5,2));
draw (z1-(10.5,2));
clip currentpicture to ((z0-(8.5pt,0))--(z0+(8.5pt,0))--(z1+(8.5pt,0))--(z1-(8.5pt,0))--cycle);
endfig;
end;