prologues := 3;
outputformat := "svg";
defaultfont := "cmr10";
defaultscale := 1.1;
color Blue,Teal,Orange,Green,Grey,Light,Wash;
Blue := (0,84/255,159/255); Teal := (0,177/255,183/255);
Orange := (246/255,168/255,0); Green := (87/255,171/255,39/255);
Grey := (100/255,101/255,103/255); Light := (236/255,236/255,237/255);
Wash := (232/255,241/255,250/255);
% Format displayed numbers to hundredths using integer strings.
vardef numlabel(expr value)=
 save n,whole,frac; numeric n,whole,frac;
 n:=round(100abs value); whole:=floor(n/100); frac:=n mod 100;
 (if value<-.005: "-" & fi decimal whole
  if frac>0: & "." & if frac<10: "0" & fi decimal frac fi)
enddef;
pickup pencircle scaled .9;
outputtemplate := "MPT-15-002.svg";
beginfig(1);
fill unitsquare xscaled 320 yscaled 220 withcolor white;
% BEGIN DRAWING
path spine;
pair c,tangent,normal,lefttip,righttip;
numeric w;
spine:=(94,42)..(142,110)..(217,181);
for t=.06 step .045 until .96:
  c:=point (2t) of spine;
  tangent:=unitvector direction (2t) of spine;
  normal:=tangent rotated 90;
  w:=38sind(180t);
  lefttip:=c+w*normal+16t*tangent;
  righttip:=c-.78w*normal+13t*tangent;
  draw c..(.55[c,lefttip]+4tangent)..lefttip
    withpen pencircle scaled 1.1 withcolor Teal;
  draw c..(.55[c,righttip]+4tangent)..righttip
    withpen pencircle scaled 1.1 withcolor Blue;
endfor;
draw spine withpen pencircle scaled 1.8 withcolor Blue;
draw (84,28)--(94,42) withpen pencircle scaled 1.8 withcolor Blue;
% END DRAWING
label.lft("MPT-15-002" infont "cmr8",(312,210));
setbounds currentpicture to unitsquare xscaled 320 yscaled 220;
endfig;
end.
