## Projects and Animation in JavaView

> Demo applet shows how to subclass from an existing geometry class in JavaView and supply an own computation method for creating the coordinates of an (animated) surface.

> This example shows how to embed own classes in a JavaView project. Nearly all applications in JavaView are embedded into projects, each with a special functionality. Such projects can be reused as building blocks in other cirumstances, like a class. In fact, a project is a subclass of jv.project.PjProject, which allows to manage a set of geometries, a display(s), and other projects, and to react on animation and pick events.

> Controls in project panel (ctrl-p or right-mouse/Control Panel/Inspector/Project):

> Slider "Number of u-Lines" | Discretization of parameter domain in u-direction.
> Slider "Number of v-Lines" | Discretization of parameter domain in v-direction.
> Button "Reset" | Set Number of u-Lines and Number of v-Lines to the default values.

> Usage: Press F4 or Ctrl-a to display the animation panel and press the START button in the panel. While geometry animates, interaction in the viewer is simultaneously possible. This animation panel is also used for different other projects showing time-dependent phenomena.

> View source code:
> MyApplet.java of applet
> MySurface.java of surface
> MyProject.java of project
> MyProject_IP.java of info panel of project.