Home : Map : Chapter 1 : Java : Tech : Physics :
Example: Static Type Simulation
JavaTech
Course Map
Chapter 1
Introduction
History
What is Java?
Versions
Java 5.0
Features

Java Process
Tools
Documentation
Compatibility
Getting Started
Simple Applet
Simple Application
Starters
Exercises

    Supplements
Interpret/Compile

Making WebPages
Plug-in
Java 5.0 Features
The JVM
Advanced JVMs
Alt. Compilers
Alt. JVMs
Java Deployment

     About JavaTech
     Codes List
     Exercises
     Feedback
     References
     Resources
     Tips
     Topic Index
     Course Guide
     What's New

 

MoleculeViewer - Sun Microsystems Demo


water

benzene

ethane

cyclohexane

buckminster-
fullerine

Hyaluronic Acid

Click on a molecule and drag the curser to rotate it.

Source code: XYZApp.java, Matrix3D.java
Molecule data: benzene.xyz, buckminsterfullerine.xyz, cyclohexane.xyz,, ethane.xyz, HyaluronicAcid.xyz, water.xyz,

This static type simulation provides interactive models of the structures of molecules. The applet is implemented here six times, each for a different molecule.

There is no animation involved but the user can interact with the applets and rotate the models as if they were in 3-D space.

So by static we do not mean motionlessness but rather no internal animation or processing except to respond to a new input such as that from a mouse or a value entered on the user interface.

See Chapter 11: Physics: Exercises for discussion of a project based on this program.

 

Most recent update: Nov. 9, 2005

            Tech
Java in Science
    & Engineering
Benefits
Shortcomings
RealWorld Examples

           Physics
Java in Physics
SimulationTypes
Simulate&Analyze
Sim. in Experiments
  Demo 1: Event
  Demo 2: Continuous
  Demo 3: Static

Learn by Coding
Exercises

  Part I Part II Part III
Java Core 1  2  3  4  5  6  7  8  9  10  11  12 13 14 15 16 17
18 19 20
21
22 23 24
Supplements

1  2  3  4  5  6  7  8  9  10  11  12

Tech 1  2  3  4  5  6  7  8  9  10  11  12
Physics 1  2  3  4  5  6  7  8  9  10  11  12

Java is a trademark of Sun Microsystems, Inc.