Mathematica Graphics in JavaView

JavaView is an advanced 3d viewer for interactive online visualization of Mathematica graphics in web pages, as well as it offers a tight integration with a Mathematica notebook. For example, user events like picking with a mouse or dragging a vertex in a JavaView display may be caught by a Mathematica notebook and used as 2d or 3d input parameters.

Some application areas of the tight integration of Mathematica and JavaView:

View any Mathematica graphics and animations in JavaView applets.
Interactive web pages with Mathematica graphics.
Advanced visualization algorithms in JavaView.
Export a Mathematica graphics into different file formats like Vrml, Stl ...
Full scripting of JavaView from a Mathematica notebook with J/Link.
Create interactive web services with webMathematica and MSPJavaView[].

Run JavaView from a Mathematica notebook to view graphics geometries. Extended examples are given by Overview_RunThrough.nb and in Overview.nb. The second notebook requires a proper installation J/Link.

<<JavaView`RunThrough`

cube = Graphics3D[Cuboid[{0, 0, 0}, {5, 2, 1}]];
RunJavaView[cube];

A list of graphics objects may be animated in JavaView:

cubeAnim = Table[Graphics3D[
    Cuboid[10{Random[], Random[], Random[]}]], {20}];
RunJavaView[cubeAnim, Animatable->True];

Create a web page displaying a Mathematica graphics in a JavaView applet:

WriteHtml[cubeAnim, "myAnim.html"];

The package JavaView`JLink` allows scripting of JavaView from a Mathematica notebook:

<<JavaView`JLink`
InstallJavaView[];

geom = JavaView[cube];
geom@showVertices[True];

The JavaView packages are available at the download section.

 

© 1999-2001 Last modified: 22.04.01 --- http://www.javaview.de --- The JavaView Project