Lecture 16A
Java Missed
Class class
Reflection
Javabeans
New API's
Lectures

1A: Introduction
1B: Java Intro
2A: BuildingBlocks
2B: Objects
3A: More Objects
3B: Exceptions
       & Threads
4A: Waves
4B: Nuclear &
       Particle
5A: AWT
5B: More AWT
      & Graphics
6A:Detectors &
      Simulation
6B: LHC/Atlas &
     RandomSims    
7A: Swing
7B: Java2D
8A: Java Apps
8B: Dialogs &
    MoreClasses
9A: Java I/O
9B: Utilities,
        Unicode
10A: More
    Threading
10B: File
    Handling
11A: Array,Print,
    Images
11B: SimplePhysics
    Simulation
12A: Tips &
    Techniques
12B: More Tips &
    Techniques
13A: Satellite
    
Simulations
13B: Intro to Java
    Networking
14A: Java Servers
14B: HTTP Server
15A: ServerClient
15B: ServerClient
   Expt.Simulation
16A: Course
          Review
16B: ExerciseTest
        Discussion

    Contacts
    Description
    Exercises
    Index
    Outline
    Q&A
    Resources
    StudentInfoForm
    Student Pages
    What's New

 

Home : Lectures : Lecture 16A Title Page
Lecture 16A: Continuing with Java &
Physics Simulations

WaveText
Computer Programming in the GeoSciences
Glen A. Richard
SUNY at Stony Brook

Requires Java 1.2 Compatible browser or plugin.

No JDK 1.2 support for APPLET!!

Primary Waves from WaveText

Here, we make the characters move from side to side. Motion is parallel to the direction of wave propagation. These are like primary or compressional waves which move through the depths of the Earth when earthquakes occur.

No JDK 1.2 support for APPLET!!

Secondary Waves from WaveText

Here, we make the characters move up and down, with each character one-eighth of a phase behind the previous one. The motion is perpendicular to the direction of wave propagation. These are like secondary or shear waves which, like primary waves, propagate through the Earth after they are generated by earthquakes.

No JDK 1.2 support for APPLET!!

Ocean Waves from WaveText

Here, we make the characters move in circles with the with the upper component of the motion in the same direction as that of wave propagation. In this case, it is from left to right. These are like ocean waves that are generated by wind blowing across the water.

No JDK 1.2 support for APPLET!!

Rayleigh Waves

In this invocation of the WaveText applet, the characters rotate in circles, with the upper portion of the motion retrograde to the direction of the wave propagation. This is the way the Earth's surface moves in Rayleigh waves, which are surface waves created by earthquakes.

Source: WaveText.java

 

 

 

 

 

Home Lectures Resources Index Contacts Students


Physics Simulations with JavaTM
KTH, Kurskod: 5A1418
Curator: Clark S. Lindsey