Re: Example of 2D surface animation

> Are there any animation examples out there which show how temperature
> of the surface changes over time ?

The simplest example would use a FieldImpl with MathType:

  (time -> ((x, y) -> (z, temp)))

and ScalarMaps:

  time -> Animation
  x -> XAxis
  y -> YAxis
  z -> ZAxis
  temp -> RGB

You can do something like this by running visad.ss.SpreadSheet
and importing the images.nc file (available at
ftp://ftp.ssec.wisc.edu/pub/visad-2.0/images.nc), then edit
its mappings to:

  Time -> Animation
  x -> XAxis
  y -> YAxis
  val -> ZAxis
  val -> RGB

The visad/aune/ShallowFluid.java example distributed with the
system does something a bit more complex, but animates but
animates by dynamically evolving a 2-D fuild state. Note running
ShallowFluid.java requires compiling some native C and Fortran.

Good luck,
Bill


  • 2004 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: