summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/metapost/mp3d/animpoly.mp
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/metapost/mp3d/animpoly.mp')
-rw-r--r--Master/texmf-dist/metapost/mp3d/animpoly.mp35
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/metapost/mp3d/animpoly.mp b/Master/texmf-dist/metapost/mp3d/animpoly.mp
new file mode 100644
index 00000000000..99300950053
--- /dev/null
+++ b/Master/texmf-dist/metapost/mp3d/animpoly.mp
@@ -0,0 +1,35 @@
+% Animation of polyhedra
+% Example of use of 3d and poly packages
+% METAPOST
+% Denis Roegel, 17 August 2003
+
+% package 3d
+input 3d
+
+% polyhedra definitions
+input 3dpoly
+
+% animations
+input 3danim
+
+% set scale
+drawing_scale:=8cm;
+
+%
+filled_faces:=true; % default value
+%filled_faces:=false;
+
+%
+%show_animation_parameters:=true; % default value is |false|
+
+% animations
+%animate_object("tetrahedron",1,100,100);
+%animate_object("cube",1,100,100);
+%animate_object("octahedron",1,100,100);
+%animate_object("dodecahedron",1,100,100);
+%animate_object("icosahedron",1,100,100);
+%animate_two_objects("dodecahedron","icosahedron",1,100,100);
+animate_three_objects("dodecahedron","icosahedron","octahedron",1,100,100);
+%animate_two_identical_objects("dodecahedron",1,100,100);
+
+end