texmf-dist/doc/metapost/featpost/example/matricskoc.mp
raw| 1 | % matricskoc.mp |
| 2 | % Pedro Mendonca |
| 3 | % 2006 |
| 4 | |
| 5 | input featpost3Dplus2D; |
| 6 | |
| 7 | prologues:=2; |
| 8 | |
| 9 | beginfig(1); |
| 10 | ParallelProj := false; |
| 11 | SphericalDistortion := false; |
| 12 | Spread:=256; |
| 13 | f:=(5,-2,2); |
| 14 | cartaxes(-.5,.5,.5); |
| 15 | for $=-8 step 1 until 0: |
| 16 | kindofcube(true,true,($,0,0),90,0,0,.3,.05,0.1); |
| 17 | endfor; |
| 18 | endfig; |
| 19 | |
| 20 | end; |
| 21 | |
| 22 |