summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/featpost/example/standard/simplecar.mp
blob: 48224c4fc111d61a98bff76e9d91ac7eeb2627a8 (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
% simplecar.mp
% L. Nobre G. 
% 2004

%input featpost3Dplus2D;

%f := 0.25*(2,2.15,15.3);
f := (2,0.15,1.1);
Spread := 320;
HoriZon := -0.2;

beginfig(1);
  color refpos, angcol, lencol, froncol, rearcol;
  refpos = black;
  angcol = black;
  lencol = (0.6, 0.35, 0.28);
  froncol = (0.026, 0.12, 0.06);
  rearcol = froncol;
  setthearena( 12, 1.3 );
  simplecar( refpos, angcol, lencol, froncol, rearcol );
endfig;

end;