With polymake
and jReality you can even embed your visualizations as interactive applets into pdf files (from LaTeX).
jreality($x->VISUAL);
or something similar.
File → Export → U3D
movie15
package and then use the \includemovie
command to include the applet:
\usepackage[3D]{movie15} ... \includemovie[ mimetype=model/u3d, 3Djscript=Encompass.js, autoplay ] { \textwidth } { 0.7\textwidth } {object.u3d}
mimetype=model/u3d
Mandatory to tell the viewer what kind of object this is.
autoplay
Can be set to automatically load the applet when opening the page. Otherwise you will see a white area and a small text Click to activate.
3Dscript
JavaScript code to manipulate the scene (camera, lights, etc.).
movie15
package.