Home » Archimedes archive » Archimedes World » AW-1993-05.adf » AWMay93 » !AWMay93/Goodies/2dWaves/!2DWaves/!help

!AWMay93/Goodies/2dWaves/!2DWaves/!help

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Archimedes World » AW-1993-05.adf » AWMay93
Filename: !AWMay93/Goodies/2dWaves/!2DWaves/!help
Read OK:
File size: 1E20 bytes
Load address: 0000
Exec address: 0000
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
                        ____________________________________

                        !2DWave by Jan Vlietinck (8-12-1992)
                        ____________________________________


1. Introduction
===============

2DWave is simulation program for two dimensional waves. The program is both educative and entertaining. The idea is to simulate waves exactly as they would behave in real live. Such waves are waves on a water surface, acoustic waves produced by a speaker and even electro magnetical waves.
The waves are calculated according to the correct physical rules described by the Laplace differential equation, resulting in a smooth colourful animation.
On an Arm2 machine, 12.5 full screen frames per second can be displayed. Those frames are at the full 320x256 resolution of the 256 colours mode 13. Special hand optimised Arm machine code had to be written to achieve this speed.


2. Workings
===========

Internally the wave plane is represented by a two dimensional array with each point having two states : height and velocity of a cell. On the screen each pixel is coloured according to the height of a point on the wave surface. The calculations resembles those of a cellular automat. The new height is the old one added with a number proportionally to the velocity. The new velocity is the previous one multiplied by a viscous damping factor and incremented proportional to the difference between the average height of the four surrounding cells and the current height of the cell.
Thus :
  h'(x,y) =   h(x,y)+a*v(x,y)
  v'(x,y) = b*v(x,y)+c*(h(x-1,y)+h(x+1,y)+h(x,y-1)+h(x,y+1)-4*h(x,y))/4

Where h(x,y) and v(x,y) are the height and velocity of a cell on position (x,y). In the program : a=1, b=1-2^-n, c= 2^-m.
To speed up calculations, interpolation is used. For a full screen 320x256 display, only a 80x64 mesh is calculated. The other points are found by interpolation.


3. The menu
===========

After starting the program you are presented with the menu screen. The menu which is surrounded by a rectangle is divided in three submenus : 'actions', 'options' and 'settings'. A selection in this menu can be made by moving the mouse on one of the entries and clicking the left mouse button.


3.1 Actions submenu
-------------------
The actions submenu is used to enter wave sources in a number of ways before starting a simulation. The excitation of a source is either generated by the computer or you can control it with the mouse. The computer controlled sources produce a sinusoidal excitation of which the amplitude, frequency, phase and position can be entered.

When selecting 'automatic' a number of random sources are configured and the wave simulation starts.

Selecting the second entry in the menu leads to the 'semi-automatic' control screen. On the left top of this screen, the amplitude, frequency, phase and position of the current source are displayed.
A source is represented by a solid circle, the current source is surrounded by a white circle. Also the current wave is graphically represented by a sinusoid. By moving the mouse you can alter the position of the source, clicking the left button enters the source.
Holding down the right mouse button and moving the mouse allows you to change the amplitude and frequency of the current source. Horizontal movements control the frequency while vertical movements alter the amplitude. The parameters of a source can also be configured by pressing the '1 2 3' and 'Q W E' keys to increase and decrease the amplitude, frequency and phase. When you have entered all the required sources the simulation is started after clicking the middle button.

The third, 'manual', entry in the actions submenu allows you to control a source with the mouse whilst simulation. Moving the mouse up and down controls the amplitude of the source. Moving the mouse and clicking the right button repositions the source. Holding down the left button and moving the mouse produces an effect similar to that of a boat sailing through the sea.

The 'continue' entry allows you to continue simulation after suspension.

At any time during simulation the action can be frozen by holding down the right button. Returning to the menu screen is done by clicking the middle button.


3.2 Options submenu
-------------------
The 'options' submenu allows you to switch on and off various options.
Clicking on one of the three option switches the option on, another click switches it back off. The on state is depicted with a mark to the left of the option.

Setting on the 'projection' option gives you a three dimensional, perspective, projection of the simulation.

The 'loose edges' option allows you to choose between fixed or loose edges of the simulated surface. Fixed edges is like the film of a tambour while loose edges resembles water in a pool.

When the 'colour lookup' option is on, the colour of every pixel is translated via a lookup table before display, to give a more pretty colour display of the waves. When this option is off and projection is chosen then all the points are coloured white to give a look more reminiscent of water waves.

At any time during simulation the three options can be toggled on and off with a key to give instant change. To toggle the projection, edge and colour effect, press the 'P','E' and 'C' key.


3.3 Settings submenu
--------------------
With the 'settings' submenu some physical parameters of the simulated plane can be reconfigured. To alter the default value click on one of the five entries, enter a chosen number and press return. Out of range
numbers are automatically constrained to the maximum or minimum value.

With the 'width' and 'height' parameters the physical extent of the plane may be set. The width may be varied between 10 and 80 while the height is variable between 10 and 64.

The 'viscosity' and 'time step' value determine the behaviour of the simulated plane. The viscosity factor may be varied between 1 and 10. A value of 1 gives a very watery appearance. Entering the maximum of 10 gives a very viscous, syrupy, simulation.
Also the time step factor can be varied between 1 and 10. 10 is the default, a lower number allows you to slow down the action by reducing the elapsed simulation time between successive frames.

Finally the 'base colour' option allows you to shift through the colour pallet.


4. Saving the screen
====================     

At any time during simulation the current frame can be saved. Pressing the 'S' key causes the current screen to be saved. There is no need to enter a file name; all screens saved are automatically named as Dump0, Dump1,... Ensure that sufficient space is available on discs before saving!


5. Hints and tips
==================

- Projection is more attractive with loose edges.
- Colour lookup is prettier but it slow down the simulation considerably.
- Simulation with small width and height may execute too fast, therefore you should reduce the time step.
- When you find that the waves decay to slowly then increase the viscosity factor.
- Dipole sources are constructed with two very close sources with the same amplitude and frequency but with a phase difference of pi. To avoid reflections at the edges which would spoil the effect increase the viscosity to 7.
- Analogous a swirl may be generated by four sources with the same amplitude and frequency but with phases 0, 0.5, 1 and  1.5 pi, positioned in a close cross formation.
- Also watch some sources with low amplitude and high frequency superimposed on a source with a high amplitude and low frequency.
- Base colour 140 also gives nice colours.


Enjoy the program !




Any comments welcome at :

Jan vlietinck
Essendreef 15
8300 Knokke-Heist
Belgium

00000000  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00000010  20 20 20 20 20 20 20 20  20 5f 5f 5f 5f 5f 5f 5f  |         _______|
00000020  5f 5f 5f 5f 5f 5f 5f 5f  5f 5f 5f 5f 5f 5f 5f 5f  |________________|
00000030  5f 5f 5f 5f 5f 5f 5f 5f  5f 5f 5f 5f 5f 0a 0a 20  |_____________.. |
00000040  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000050  20 20 20 20 20 20 20 21  32 44 57 61 76 65 20 62  |       !2DWave b|
00000060  79 20 4a 61 6e 20 56 6c  69 65 74 69 6e 63 6b 20  |y Jan Vlietinck |
00000070  28 38 2d 31 32 2d 31 39  39 32 29 0a 20 20 20 20  |(8-12-1992).    |
00000080  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000090  20 20 20 20 5f 5f 5f 5f  5f 5f 5f 5f 5f 5f 5f 5f  |    ____________|
000000a0  5f 5f 5f 5f 5f 5f 5f 5f  5f 5f 5f 5f 5f 5f 5f 5f  |________________|
000000b0  5f 5f 5f 5f 5f 5f 5f 5f  0a 0a 0a 31 2e 20 49 6e  |________...1. In|
000000c0  74 72 6f 64 75 63 74 69  6f 6e 0a 3d 3d 3d 3d 3d  |troduction.=====|
000000d0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 0a 0a 32 44 57 61  |==========..2DWa|
000000e0  76 65 20 69 73 20 73 69  6d 75 6c 61 74 69 6f 6e  |ve is simulation|
000000f0  20 70 72 6f 67 72 61 6d  20 66 6f 72 20 74 77 6f  | program for two|
00000100  20 64 69 6d 65 6e 73 69  6f 6e 61 6c 20 77 61 76  | dimensional wav|
00000110  65 73 2e 20 54 68 65 20  70 72 6f 67 72 61 6d 20  |es. The program |
00000120  69 73 20 62 6f 74 68 20  65 64 75 63 61 74 69 76  |is both educativ|
00000130  65 20 61 6e 64 20 65 6e  74 65 72 74 61 69 6e 69  |e and entertaini|
00000140  6e 67 2e 20 54 68 65 20  69 64 65 61 20 69 73 20  |ng. The idea is |
00000150  74 6f 20 73 69 6d 75 6c  61 74 65 20 77 61 76 65  |to simulate wave|
00000160  73 20 65 78 61 63 74 6c  79 20 61 73 20 74 68 65  |s exactly as the|
00000170  79 20 77 6f 75 6c 64 20  62 65 68 61 76 65 20 69  |y would behave i|
00000180  6e 20 72 65 61 6c 20 6c  69 76 65 2e 20 53 75 63  |n real live. Suc|
00000190  68 20 77 61 76 65 73 20  61 72 65 20 77 61 76 65  |h waves are wave|
000001a0  73 20 6f 6e 20 61 20 77  61 74 65 72 20 73 75 72  |s on a water sur|
000001b0  66 61 63 65 2c 20 61 63  6f 75 73 74 69 63 20 77  |face, acoustic w|
000001c0  61 76 65 73 20 70 72 6f  64 75 63 65 64 20 62 79  |aves produced by|
000001d0  20 61 20 73 70 65 61 6b  65 72 20 61 6e 64 20 65  | a speaker and e|
000001e0  76 65 6e 20 65 6c 65 63  74 72 6f 20 6d 61 67 6e  |ven electro magn|
000001f0  65 74 69 63 61 6c 20 77  61 76 65 73 2e 0a 54 68  |etical waves..Th|
00000200  65 20 77 61 76 65 73 20  61 72 65 20 63 61 6c 63  |e waves are calc|
00000210  75 6c 61 74 65 64 20 61  63 63 6f 72 64 69 6e 67  |ulated according|
00000220  20 74 6f 20 74 68 65 20  63 6f 72 72 65 63 74 20  | to the correct |
00000230  70 68 79 73 69 63 61 6c  20 72 75 6c 65 73 20 64  |physical rules d|
00000240  65 73 63 72 69 62 65 64  20 62 79 20 74 68 65 20  |escribed by the |
00000250  4c 61 70 6c 61 63 65 20  64 69 66 66 65 72 65 6e  |Laplace differen|
00000260  74 69 61 6c 20 65 71 75  61 74 69 6f 6e 2c 20 72  |tial equation, r|
00000270  65 73 75 6c 74 69 6e 67  20 69 6e 20 61 20 73 6d  |esulting in a sm|
00000280  6f 6f 74 68 20 63 6f 6c  6f 75 72 66 75 6c 20 61  |ooth colourful a|
00000290  6e 69 6d 61 74 69 6f 6e  2e 0a 4f 6e 20 61 6e 20  |nimation..On an |
000002a0  41 72 6d 32 20 6d 61 63  68 69 6e 65 2c 20 31 32  |Arm2 machine, 12|
000002b0  2e 35 20 66 75 6c 6c 20  73 63 72 65 65 6e 20 66  |.5 full screen f|
000002c0  72 61 6d 65 73 20 70 65  72 20 73 65 63 6f 6e 64  |rames per second|
000002d0  20 63 61 6e 20 62 65 20  64 69 73 70 6c 61 79 65  | can be displaye|
000002e0  64 2e 20 54 68 6f 73 65  20 66 72 61 6d 65 73 20  |d. Those frames |
000002f0  61 72 65 20 61 74 20 74  68 65 20 66 75 6c 6c 20  |are at the full |
00000300  33 32 30 78 32 35 36 20  72 65 73 6f 6c 75 74 69  |320x256 resoluti|
00000310  6f 6e 20 6f 66 20 74 68  65 20 32 35 36 20 63 6f  |on of the 256 co|
00000320  6c 6f 75 72 73 20 6d 6f  64 65 20 31 33 2e 20 53  |lours mode 13. S|
00000330  70 65 63 69 61 6c 20 68  61 6e 64 20 6f 70 74 69  |pecial hand opti|
00000340  6d 69 73 65 64 20 41 72  6d 20 6d 61 63 68 69 6e  |mised Arm machin|
00000350  65 20 63 6f 64 65 20 68  61 64 20 74 6f 20 62 65  |e code had to be|
00000360  20 77 72 69 74 74 65 6e  20 74 6f 20 61 63 68 69  | written to achi|
00000370  65 76 65 20 74 68 69 73  20 73 70 65 65 64 2e 0a  |eve this speed..|
00000380  0a 0a 32 2e 20 57 6f 72  6b 69 6e 67 73 0a 3d 3d  |..2. Workings.==|
00000390  3d 3d 3d 3d 3d 3d 3d 3d  3d 0a 0a 49 6e 74 65 72  |=========..Inter|
000003a0  6e 61 6c 6c 79 20 74 68  65 20 77 61 76 65 20 70  |nally the wave p|
000003b0  6c 61 6e 65 20 69 73 20  72 65 70 72 65 73 65 6e  |lane is represen|
000003c0  74 65 64 20 62 79 20 61  20 74 77 6f 20 64 69 6d  |ted by a two dim|
000003d0  65 6e 73 69 6f 6e 61 6c  20 61 72 72 61 79 20 77  |ensional array w|
000003e0  69 74 68 20 65 61 63 68  20 70 6f 69 6e 74 20 68  |ith each point h|
000003f0  61 76 69 6e 67 20 74 77  6f 20 73 74 61 74 65 73  |aving two states|
00000400  20 3a 20 68 65 69 67 68  74 20 61 6e 64 20 76 65  | : height and ve|
00000410  6c 6f 63 69 74 79 20 6f  66 20 61 20 63 65 6c 6c  |locity of a cell|
00000420  2e 20 4f 6e 20 74 68 65  20 73 63 72 65 65 6e 20  |. On the screen |
00000430  65 61 63 68 20 70 69 78  65 6c 20 69 73 20 63 6f  |each pixel is co|
00000440  6c 6f 75 72 65 64 20 61  63 63 6f 72 64 69 6e 67  |loured according|
00000450  20 74 6f 20 74 68 65 20  68 65 69 67 68 74 20 6f  | to the height o|
00000460  66 20 61 20 70 6f 69 6e  74 20 6f 6e 20 74 68 65  |f a point on the|
00000470  20 77 61 76 65 20 73 75  72 66 61 63 65 2e 20 54  | wave surface. T|
00000480  68 65 20 63 61 6c 63 75  6c 61 74 69 6f 6e 73 20  |he calculations |
00000490  72 65 73 65 6d 62 6c 65  73 20 74 68 6f 73 65 20  |resembles those |
000004a0  6f 66 20 61 20 63 65 6c  6c 75 6c 61 72 20 61 75  |of a cellular au|
000004b0  74 6f 6d 61 74 2e 20 54  68 65 20 6e 65 77 20 68  |tomat. The new h|
000004c0  65 69 67 68 74 20 69 73  20 74 68 65 20 6f 6c 64  |eight is the old|
000004d0  20 6f 6e 65 20 61 64 64  65 64 20 77 69 74 68 20  | one added with |
000004e0  61 20 6e 75 6d 62 65 72  20 70 72 6f 70 6f 72 74  |a number proport|
000004f0  69 6f 6e 61 6c 6c 79 20  74 6f 20 74 68 65 20 76  |ionally to the v|
00000500  65 6c 6f 63 69 74 79 2e  20 54 68 65 20 6e 65 77  |elocity. The new|
00000510  20 76 65 6c 6f 63 69 74  79 20 69 73 20 74 68 65  | velocity is the|
00000520  20 70 72 65 76 69 6f 75  73 20 6f 6e 65 20 6d 75  | previous one mu|
00000530  6c 74 69 70 6c 69 65 64  20 62 79 20 61 20 76 69  |ltiplied by a vi|
00000540  73 63 6f 75 73 20 64 61  6d 70 69 6e 67 20 66 61  |scous damping fa|
00000550  63 74 6f 72 20 61 6e 64  20 69 6e 63 72 65 6d 65  |ctor and increme|
00000560  6e 74 65 64 20 70 72 6f  70 6f 72 74 69 6f 6e 61  |nted proportiona|
00000570  6c 20 74 6f 20 74 68 65  20 64 69 66 66 65 72 65  |l to the differe|
00000580  6e 63 65 20 62 65 74 77  65 65 6e 20 74 68 65 20  |nce between the |
00000590  61 76 65 72 61 67 65 20  68 65 69 67 68 74 20 6f  |average height o|
000005a0  66 20 74 68 65 20 66 6f  75 72 20 73 75 72 72 6f  |f the four surro|
000005b0  75 6e 64 69 6e 67 20 63  65 6c 6c 73 20 61 6e 64  |unding cells and|
000005c0  20 74 68 65 20 63 75 72  72 65 6e 74 20 68 65 69  | the current hei|
000005d0  67 68 74 20 6f 66 20 74  68 65 20 63 65 6c 6c 2e  |ght of the cell.|
000005e0  0a 54 68 75 73 20 3a 0a  20 20 68 27 28 78 2c 79  |.Thus :.  h'(x,y|
000005f0  29 20 3d 20 20 20 68 28  78 2c 79 29 2b 61 2a 76  |) =   h(x,y)+a*v|
00000600  28 78 2c 79 29 0a 20 20  76 27 28 78 2c 79 29 20  |(x,y).  v'(x,y) |
00000610  3d 20 62 2a 76 28 78 2c  79 29 2b 63 2a 28 68 28  |= b*v(x,y)+c*(h(|
00000620  78 2d 31 2c 79 29 2b 68  28 78 2b 31 2c 79 29 2b  |x-1,y)+h(x+1,y)+|
00000630  68 28 78 2c 79 2d 31 29  2b 68 28 78 2c 79 2b 31  |h(x,y-1)+h(x,y+1|
00000640  29 2d 34 2a 68 28 78 2c  79 29 29 2f 34 0a 0a 57  |)-4*h(x,y))/4..W|
00000650  68 65 72 65 20 68 28 78  2c 79 29 20 61 6e 64 20  |here h(x,y) and |
00000660  76 28 78 2c 79 29 20 61  72 65 20 74 68 65 20 68  |v(x,y) are the h|
00000670  65 69 67 68 74 20 61 6e  64 20 76 65 6c 6f 63 69  |eight and veloci|
00000680  74 79 20 6f 66 20 61 20  63 65 6c 6c 20 6f 6e 20  |ty of a cell on |
00000690  70 6f 73 69 74 69 6f 6e  20 28 78 2c 79 29 2e 20  |position (x,y). |
000006a0  49 6e 20 74 68 65 20 70  72 6f 67 72 61 6d 20 3a  |In the program :|
000006b0  20 61 3d 31 2c 20 62 3d  31 2d 32 5e 2d 6e 2c 20  | a=1, b=1-2^-n, |
000006c0  63 3d 20 32 5e 2d 6d 2e  0a 54 6f 20 73 70 65 65  |c= 2^-m..To spee|
000006d0  64 20 75 70 20 63 61 6c  63 75 6c 61 74 69 6f 6e  |d up calculation|
000006e0  73 2c 20 69 6e 74 65 72  70 6f 6c 61 74 69 6f 6e  |s, interpolation|
000006f0  20 69 73 20 75 73 65 64  2e 20 46 6f 72 20 61 20  | is used. For a |
00000700  66 75 6c 6c 20 73 63 72  65 65 6e 20 33 32 30 78  |full screen 320x|
00000710  32 35 36 20 64 69 73 70  6c 61 79 2c 20 6f 6e 6c  |256 display, onl|
00000720  79 20 61 20 38 30 78 36  34 20 6d 65 73 68 20 69  |y a 80x64 mesh i|
00000730  73 20 63 61 6c 63 75 6c  61 74 65 64 2e 20 54 68  |s calculated. Th|
00000740  65 20 6f 74 68 65 72 20  70 6f 69 6e 74 73 20 61  |e other points a|
00000750  72 65 20 66 6f 75 6e 64  20 62 79 20 69 6e 74 65  |re found by inte|
00000760  72 70 6f 6c 61 74 69 6f  6e 2e 0a 0a 0a 33 2e 20  |rpolation....3. |
00000770  54 68 65 20 6d 65 6e 75  0a 3d 3d 3d 3d 3d 3d 3d  |The menu.=======|
00000780  3d 3d 3d 3d 0a 0a 41 66  74 65 72 20 73 74 61 72  |====..After star|
00000790  74 69 6e 67 20 74 68 65  20 70 72 6f 67 72 61 6d  |ting the program|
000007a0  20 79 6f 75 20 61 72 65  20 70 72 65 73 65 6e 74  | you are present|
000007b0  65 64 20 77 69 74 68 20  74 68 65 20 6d 65 6e 75  |ed with the menu|
000007c0  20 73 63 72 65 65 6e 2e  20 54 68 65 20 6d 65 6e  | screen. The men|
000007d0  75 20 77 68 69 63 68 20  69 73 20 73 75 72 72 6f  |u which is surro|
000007e0  75 6e 64 65 64 20 62 79  20 61 20 72 65 63 74 61  |unded by a recta|
000007f0  6e 67 6c 65 20 69 73 20  64 69 76 69 64 65 64 20  |ngle is divided |
00000800  69 6e 20 74 68 72 65 65  20 73 75 62 6d 65 6e 75  |in three submenu|
00000810  73 20 3a 20 27 61 63 74  69 6f 6e 73 27 2c 20 27  |s : 'actions', '|
00000820  6f 70 74 69 6f 6e 73 27  20 61 6e 64 20 27 73 65  |options' and 'se|
00000830  74 74 69 6e 67 73 27 2e  20 41 20 73 65 6c 65 63  |ttings'. A selec|
00000840  74 69 6f 6e 20 69 6e 20  74 68 69 73 20 6d 65 6e  |tion in this men|
00000850  75 20 63 61 6e 20 62 65  20 6d 61 64 65 20 62 79  |u can be made by|
00000860  20 6d 6f 76 69 6e 67 20  74 68 65 20 6d 6f 75 73  | moving the mous|
00000870  65 20 6f 6e 20 6f 6e 65  20 6f 66 20 74 68 65 20  |e on one of the |
00000880  65 6e 74 72 69 65 73 20  61 6e 64 20 63 6c 69 63  |entries and clic|
00000890  6b 69 6e 67 20 74 68 65  20 6c 65 66 74 20 6d 6f  |king the left mo|
000008a0  75 73 65 20 62 75 74 74  6f 6e 2e 0a 0a 0a 33 2e  |use button....3.|
000008b0  31 20 41 63 74 69 6f 6e  73 20 73 75 62 6d 65 6e  |1 Actions submen|
000008c0  75 0a 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |u.--------------|
000008d0  2d 2d 2d 2d 2d 0a 54 68  65 20 61 63 74 69 6f 6e  |-----.The action|
000008e0  73 20 73 75 62 6d 65 6e  75 20 69 73 20 75 73 65  |s submenu is use|
000008f0  64 20 74 6f 20 65 6e 74  65 72 20 77 61 76 65 20  |d to enter wave |
00000900  73 6f 75 72 63 65 73 20  69 6e 20 61 20 6e 75 6d  |sources in a num|
00000910  62 65 72 20 6f 66 20 77  61 79 73 20 62 65 66 6f  |ber of ways befo|
00000920  72 65 20 73 74 61 72 74  69 6e 67 20 61 20 73 69  |re starting a si|
00000930  6d 75 6c 61 74 69 6f 6e  2e 20 54 68 65 20 65 78  |mulation. The ex|
00000940  63 69 74 61 74 69 6f 6e  20 6f 66 20 61 20 73 6f  |citation of a so|
00000950  75 72 63 65 20 69 73 20  65 69 74 68 65 72 20 67  |urce is either g|
00000960  65 6e 65 72 61 74 65 64  20 62 79 20 74 68 65 20  |enerated by the |
00000970  63 6f 6d 70 75 74 65 72  20 6f 72 20 79 6f 75 20  |computer or you |
00000980  63 61 6e 20 63 6f 6e 74  72 6f 6c 20 69 74 20 77  |can control it w|
00000990  69 74 68 20 74 68 65 20  6d 6f 75 73 65 2e 20 54  |ith the mouse. T|
000009a0  68 65 20 63 6f 6d 70 75  74 65 72 20 63 6f 6e 74  |he computer cont|
000009b0  72 6f 6c 6c 65 64 20 73  6f 75 72 63 65 73 20 70  |rolled sources p|
000009c0  72 6f 64 75 63 65 20 61  20 73 69 6e 75 73 6f 69  |roduce a sinusoi|
000009d0  64 61 6c 20 65 78 63 69  74 61 74 69 6f 6e 20 6f  |dal excitation o|
000009e0  66 20 77 68 69 63 68 20  74 68 65 20 61 6d 70 6c  |f which the ampl|
000009f0  69 74 75 64 65 2c 20 66  72 65 71 75 65 6e 63 79  |itude, frequency|
00000a00  2c 20 70 68 61 73 65 20  61 6e 64 20 70 6f 73 69  |, phase and posi|
00000a10  74 69 6f 6e 20 63 61 6e  20 62 65 20 65 6e 74 65  |tion can be ente|
00000a20  72 65 64 2e 0a 0a 57 68  65 6e 20 73 65 6c 65 63  |red...When selec|
00000a30  74 69 6e 67 20 27 61 75  74 6f 6d 61 74 69 63 27  |ting 'automatic'|
00000a40  20 61 20 6e 75 6d 62 65  72 20 6f 66 20 72 61 6e  | a number of ran|
00000a50  64 6f 6d 20 73 6f 75 72  63 65 73 20 61 72 65 20  |dom sources are |
00000a60  63 6f 6e 66 69 67 75 72  65 64 20 61 6e 64 20 74  |configured and t|
00000a70  68 65 20 77 61 76 65 20  73 69 6d 75 6c 61 74 69  |he wave simulati|
00000a80  6f 6e 20 73 74 61 72 74  73 2e 0a 0a 53 65 6c 65  |on starts...Sele|
00000a90  63 74 69 6e 67 20 74 68  65 20 73 65 63 6f 6e 64  |cting the second|
00000aa0  20 65 6e 74 72 79 20 69  6e 20 74 68 65 20 6d 65  | entry in the me|
00000ab0  6e 75 20 6c 65 61 64 73  20 74 6f 20 74 68 65 20  |nu leads to the |
00000ac0  27 73 65 6d 69 2d 61 75  74 6f 6d 61 74 69 63 27  |'semi-automatic'|
00000ad0  20 63 6f 6e 74 72 6f 6c  20 73 63 72 65 65 6e 2e  | control screen.|
00000ae0  20 4f 6e 20 74 68 65 20  6c 65 66 74 20 74 6f 70  | On the left top|
00000af0  20 6f 66 20 74 68 69 73  20 73 63 72 65 65 6e 2c  | of this screen,|
00000b00  20 74 68 65 20 61 6d 70  6c 69 74 75 64 65 2c 20  | the amplitude, |
00000b10  66 72 65 71 75 65 6e 63  79 2c 20 70 68 61 73 65  |frequency, phase|
00000b20  20 61 6e 64 20 70 6f 73  69 74 69 6f 6e 20 6f 66  | and position of|
00000b30  20 74 68 65 20 63 75 72  72 65 6e 74 20 73 6f 75  | the current sou|
00000b40  72 63 65 20 61 72 65 20  64 69 73 70 6c 61 79 65  |rce are displaye|
00000b50  64 2e 0a 41 20 73 6f 75  72 63 65 20 69 73 20 72  |d..A source is r|
00000b60  65 70 72 65 73 65 6e 74  65 64 20 62 79 20 61 20  |epresented by a |
00000b70  73 6f 6c 69 64 20 63 69  72 63 6c 65 2c 20 74 68  |solid circle, th|
00000b80  65 20 63 75 72 72 65 6e  74 20 73 6f 75 72 63 65  |e current source|
00000b90  20 69 73 20 73 75 72 72  6f 75 6e 64 65 64 20 62  | is surrounded b|
00000ba0  79 20 61 20 77 68 69 74  65 20 63 69 72 63 6c 65  |y a white circle|
00000bb0  2e 20 41 6c 73 6f 20 74  68 65 20 63 75 72 72 65  |. Also the curre|
00000bc0  6e 74 20 77 61 76 65 20  69 73 20 67 72 61 70 68  |nt wave is graph|
00000bd0  69 63 61 6c 6c 79 20 72  65 70 72 65 73 65 6e 74  |ically represent|
00000be0  65 64 20 62 79 20 61 20  73 69 6e 75 73 6f 69 64  |ed by a sinusoid|
00000bf0  2e 20 42 79 20 6d 6f 76  69 6e 67 20 74 68 65 20  |. By moving the |
00000c00  6d 6f 75 73 65 20 79 6f  75 20 63 61 6e 20 61 6c  |mouse you can al|
00000c10  74 65 72 20 74 68 65 20  70 6f 73 69 74 69 6f 6e  |ter the position|
00000c20  20 6f 66 20 74 68 65 20  73 6f 75 72 63 65 2c 20  | of the source, |
00000c30  63 6c 69 63 6b 69 6e 67  20 74 68 65 20 6c 65 66  |clicking the lef|
00000c40  74 20 62 75 74 74 6f 6e  20 65 6e 74 65 72 73 20  |t button enters |
00000c50  74 68 65 20 73 6f 75 72  63 65 2e 0a 48 6f 6c 64  |the source..Hold|
00000c60  69 6e 67 20 64 6f 77 6e  20 74 68 65 20 72 69 67  |ing down the rig|
00000c70  68 74 20 6d 6f 75 73 65  20 62 75 74 74 6f 6e 20  |ht mouse button |
00000c80  61 6e 64 20 6d 6f 76 69  6e 67 20 74 68 65 20 6d  |and moving the m|
00000c90  6f 75 73 65 20 61 6c 6c  6f 77 73 20 79 6f 75 20  |ouse allows you |
00000ca0  74 6f 20 63 68 61 6e 67  65 20 74 68 65 20 61 6d  |to change the am|
00000cb0  70 6c 69 74 75 64 65 20  61 6e 64 20 66 72 65 71  |plitude and freq|
00000cc0  75 65 6e 63 79 20 6f 66  20 74 68 65 20 63 75 72  |uency of the cur|
00000cd0  72 65 6e 74 20 73 6f 75  72 63 65 2e 20 48 6f 72  |rent source. Hor|
00000ce0  69 7a 6f 6e 74 61 6c 20  6d 6f 76 65 6d 65 6e 74  |izontal movement|
00000cf0  73 20 63 6f 6e 74 72 6f  6c 20 74 68 65 20 66 72  |s control the fr|
00000d00  65 71 75 65 6e 63 79 20  77 68 69 6c 65 20 76 65  |equency while ve|
00000d10  72 74 69 63 61 6c 20 6d  6f 76 65 6d 65 6e 74 73  |rtical movements|
00000d20  20 61 6c 74 65 72 20 74  68 65 20 61 6d 70 6c 69  | alter the ampli|
00000d30  74 75 64 65 2e 20 54 68  65 20 70 61 72 61 6d 65  |tude. The parame|
00000d40  74 65 72 73 20 6f 66 20  61 20 73 6f 75 72 63 65  |ters of a source|
00000d50  20 63 61 6e 20 61 6c 73  6f 20 62 65 20 63 6f 6e  | can also be con|
00000d60  66 69 67 75 72 65 64 20  62 79 20 70 72 65 73 73  |figured by press|
00000d70  69 6e 67 20 74 68 65 20  27 31 20 32 20 33 27 20  |ing the '1 2 3' |
00000d80  61 6e 64 20 27 51 20 57  20 45 27 20 6b 65 79 73  |and 'Q W E' keys|
00000d90  20 74 6f 20 69 6e 63 72  65 61 73 65 20 61 6e 64  | to increase and|
00000da0  20 64 65 63 72 65 61 73  65 20 74 68 65 20 61 6d  | decrease the am|
00000db0  70 6c 69 74 75 64 65 2c  20 66 72 65 71 75 65 6e  |plitude, frequen|
00000dc0  63 79 20 61 6e 64 20 70  68 61 73 65 2e 20 57 68  |cy and phase. Wh|
00000dd0  65 6e 20 79 6f 75 20 68  61 76 65 20 65 6e 74 65  |en you have ente|
00000de0  72 65 64 20 61 6c 6c 20  74 68 65 20 72 65 71 75  |red all the requ|
00000df0  69 72 65 64 20 73 6f 75  72 63 65 73 20 74 68 65  |ired sources the|
00000e00  20 73 69 6d 75 6c 61 74  69 6f 6e 20 69 73 20 73  | simulation is s|
00000e10  74 61 72 74 65 64 20 61  66 74 65 72 20 63 6c 69  |tarted after cli|
00000e20  63 6b 69 6e 67 20 74 68  65 20 6d 69 64 64 6c 65  |cking the middle|
00000e30  20 62 75 74 74 6f 6e 2e  0a 0a 54 68 65 20 74 68  | button...The th|
00000e40  69 72 64 2c 20 27 6d 61  6e 75 61 6c 27 2c 20 65  |ird, 'manual', e|
00000e50  6e 74 72 79 20 69 6e 20  74 68 65 20 61 63 74 69  |ntry in the acti|
00000e60  6f 6e 73 20 73 75 62 6d  65 6e 75 20 61 6c 6c 6f  |ons submenu allo|
00000e70  77 73 20 79 6f 75 20 74  6f 20 63 6f 6e 74 72 6f  |ws you to contro|
00000e80  6c 20 61 20 73 6f 75 72  63 65 20 77 69 74 68 20  |l a source with |
00000e90  74 68 65 20 6d 6f 75 73  65 20 77 68 69 6c 73 74  |the mouse whilst|
00000ea0  20 73 69 6d 75 6c 61 74  69 6f 6e 2e 20 4d 6f 76  | simulation. Mov|
00000eb0  69 6e 67 20 74 68 65 20  6d 6f 75 73 65 20 75 70  |ing the mouse up|
00000ec0  20 61 6e 64 20 64 6f 77  6e 20 63 6f 6e 74 72 6f  | and down contro|
00000ed0  6c 73 20 74 68 65 20 61  6d 70 6c 69 74 75 64 65  |ls the amplitude|
00000ee0  20 6f 66 20 74 68 65 20  73 6f 75 72 63 65 2e 20  | of the source. |
00000ef0  4d 6f 76 69 6e 67 20 74  68 65 20 6d 6f 75 73 65  |Moving the mouse|
00000f00  20 61 6e 64 20 63 6c 69  63 6b 69 6e 67 20 74 68  | and clicking th|
00000f10  65 20 72 69 67 68 74 20  62 75 74 74 6f 6e 20 72  |e right button r|
00000f20  65 70 6f 73 69 74 69 6f  6e 73 20 74 68 65 20 73  |epositions the s|
00000f30  6f 75 72 63 65 2e 20 48  6f 6c 64 69 6e 67 20 64  |ource. Holding d|
00000f40  6f 77 6e 20 74 68 65 20  6c 65 66 74 20 62 75 74  |own the left but|
00000f50  74 6f 6e 20 61 6e 64 20  6d 6f 76 69 6e 67 20 74  |ton and moving t|
00000f60  68 65 20 6d 6f 75 73 65  20 70 72 6f 64 75 63 65  |he mouse produce|
00000f70  73 20 61 6e 20 65 66 66  65 63 74 20 73 69 6d 69  |s an effect simi|
00000f80  6c 61 72 20 74 6f 20 74  68 61 74 20 6f 66 20 61  |lar to that of a|
00000f90  20 62 6f 61 74 20 73 61  69 6c 69 6e 67 20 74 68  | boat sailing th|
00000fa0  72 6f 75 67 68 20 74 68  65 20 73 65 61 2e 0a 0a  |rough the sea...|
00000fb0  54 68 65 20 27 63 6f 6e  74 69 6e 75 65 27 20 65  |The 'continue' e|
00000fc0  6e 74 72 79 20 61 6c 6c  6f 77 73 20 79 6f 75 20  |ntry allows you |
00000fd0  74 6f 20 63 6f 6e 74 69  6e 75 65 20 73 69 6d 75  |to continue simu|
00000fe0  6c 61 74 69 6f 6e 20 61  66 74 65 72 20 73 75 73  |lation after sus|
00000ff0  70 65 6e 73 69 6f 6e 2e  0a 0a 41 74 20 61 6e 79  |pension...At any|
00001000  20 74 69 6d 65 20 64 75  72 69 6e 67 20 73 69 6d  | time during sim|
00001010  75 6c 61 74 69 6f 6e 20  74 68 65 20 61 63 74 69  |ulation the acti|
00001020  6f 6e 20 63 61 6e 20 62  65 20 66 72 6f 7a 65 6e  |on can be frozen|
00001030  20 62 79 20 68 6f 6c 64  69 6e 67 20 64 6f 77 6e  | by holding down|
00001040  20 74 68 65 20 72 69 67  68 74 20 62 75 74 74 6f  | the right butto|
00001050  6e 2e 20 52 65 74 75 72  6e 69 6e 67 20 74 6f 20  |n. Returning to |
00001060  74 68 65 20 6d 65 6e 75  20 73 63 72 65 65 6e 20  |the menu screen |
00001070  69 73 20 64 6f 6e 65 20  62 79 20 63 6c 69 63 6b  |is done by click|
00001080  69 6e 67 20 74 68 65 20  6d 69 64 64 6c 65 20 62  |ing the middle b|
00001090  75 74 74 6f 6e 2e 0a 0a  0a 33 2e 32 20 4f 70 74  |utton....3.2 Opt|
000010a0  69 6f 6e 73 20 73 75 62  6d 65 6e 75 0a 2d 2d 2d  |ions submenu.---|
000010b0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000010c0  0a 54 68 65 20 27 6f 70  74 69 6f 6e 73 27 20 73  |.The 'options' s|
000010d0  75 62 6d 65 6e 75 20 61  6c 6c 6f 77 73 20 79 6f  |ubmenu allows yo|
000010e0  75 20 74 6f 20 73 77 69  74 63 68 20 6f 6e 20 61  |u to switch on a|
000010f0  6e 64 20 6f 66 66 20 76  61 72 69 6f 75 73 20 6f  |nd off various o|
00001100  70 74 69 6f 6e 73 2e 0a  43 6c 69 63 6b 69 6e 67  |ptions..Clicking|
00001110  20 6f 6e 20 6f 6e 65 20  6f 66 20 74 68 65 20 74  | on one of the t|
00001120  68 72 65 65 20 6f 70 74  69 6f 6e 20 73 77 69 74  |hree option swit|
00001130  63 68 65 73 20 74 68 65  20 6f 70 74 69 6f 6e 20  |ches the option |
00001140  6f 6e 2c 20 61 6e 6f 74  68 65 72 20 63 6c 69 63  |on, another clic|
00001150  6b 20 73 77 69 74 63 68  65 73 20 69 74 20 62 61  |k switches it ba|
00001160  63 6b 20 6f 66 66 2e 20  54 68 65 20 6f 6e 20 73  |ck off. The on s|
00001170  74 61 74 65 20 69 73 20  64 65 70 69 63 74 65 64  |tate is depicted|
00001180  20 77 69 74 68 20 61 20  6d 61 72 6b 20 74 6f 20  | with a mark to |
00001190  74 68 65 20 6c 65 66 74  20 6f 66 20 74 68 65 20  |the left of the |
000011a0  6f 70 74 69 6f 6e 2e 0a  0a 53 65 74 74 69 6e 67  |option...Setting|
000011b0  20 6f 6e 20 74 68 65 20  27 70 72 6f 6a 65 63 74  | on the 'project|
000011c0  69 6f 6e 27 20 6f 70 74  69 6f 6e 20 67 69 76 65  |ion' option give|
000011d0  73 20 79 6f 75 20 61 20  74 68 72 65 65 20 64 69  |s you a three di|
000011e0  6d 65 6e 73 69 6f 6e 61  6c 2c 20 70 65 72 73 70  |mensional, persp|
000011f0  65 63 74 69 76 65 2c 20  70 72 6f 6a 65 63 74 69  |ective, projecti|
00001200  6f 6e 20 6f 66 20 74 68  65 20 73 69 6d 75 6c 61  |on of the simula|
00001210  74 69 6f 6e 2e 0a 0a 54  68 65 20 27 6c 6f 6f 73  |tion...The 'loos|
00001220  65 20 65 64 67 65 73 27  20 6f 70 74 69 6f 6e 20  |e edges' option |
00001230  61 6c 6c 6f 77 73 20 79  6f 75 20 74 6f 20 63 68  |allows you to ch|
00001240  6f 6f 73 65 20 62 65 74  77 65 65 6e 20 66 69 78  |oose between fix|
00001250  65 64 20 6f 72 20 6c 6f  6f 73 65 20 65 64 67 65  |ed or loose edge|
00001260  73 20 6f 66 20 74 68 65  20 73 69 6d 75 6c 61 74  |s of the simulat|
00001270  65 64 20 73 75 72 66 61  63 65 2e 20 46 69 78 65  |ed surface. Fixe|
00001280  64 20 65 64 67 65 73 20  69 73 20 6c 69 6b 65 20  |d edges is like |
00001290  74 68 65 20 66 69 6c 6d  20 6f 66 20 61 20 74 61  |the film of a ta|
000012a0  6d 62 6f 75 72 20 77 68  69 6c 65 20 6c 6f 6f 73  |mbour while loos|
000012b0  65 20 65 64 67 65 73 20  72 65 73 65 6d 62 6c 65  |e edges resemble|
000012c0  73 20 77 61 74 65 72 20  69 6e 20 61 20 70 6f 6f  |s water in a poo|
000012d0  6c 2e 0a 0a 57 68 65 6e  20 74 68 65 20 27 63 6f  |l...When the 'co|
000012e0  6c 6f 75 72 20 6c 6f 6f  6b 75 70 27 20 6f 70 74  |lour lookup' opt|
000012f0  69 6f 6e 20 69 73 20 6f  6e 2c 20 74 68 65 20 63  |ion is on, the c|
00001300  6f 6c 6f 75 72 20 6f 66  20 65 76 65 72 79 20 70  |olour of every p|
00001310  69 78 65 6c 20 69 73 20  74 72 61 6e 73 6c 61 74  |ixel is translat|
00001320  65 64 20 76 69 61 20 61  20 6c 6f 6f 6b 75 70 20  |ed via a lookup |
00001330  74 61 62 6c 65 20 62 65  66 6f 72 65 20 64 69 73  |table before dis|
00001340  70 6c 61 79 2c 20 74 6f  20 67 69 76 65 20 61 20  |play, to give a |
00001350  6d 6f 72 65 20 70 72 65  74 74 79 20 63 6f 6c 6f  |more pretty colo|
00001360  75 72 20 64 69 73 70 6c  61 79 20 6f 66 20 74 68  |ur display of th|
00001370  65 20 77 61 76 65 73 2e  20 57 68 65 6e 20 74 68  |e waves. When th|
00001380  69 73 20 6f 70 74 69 6f  6e 20 69 73 20 6f 66 66  |is option is off|
00001390  20 61 6e 64 20 70 72 6f  6a 65 63 74 69 6f 6e 20  | and projection |
000013a0  69 73 20 63 68 6f 73 65  6e 20 74 68 65 6e 20 61  |is chosen then a|
000013b0  6c 6c 20 74 68 65 20 70  6f 69 6e 74 73 20 61 72  |ll the points ar|
000013c0  65 20 63 6f 6c 6f 75 72  65 64 20 77 68 69 74 65  |e coloured white|
000013d0  20 74 6f 20 67 69 76 65  20 61 20 6c 6f 6f 6b 20  | to give a look |
000013e0  6d 6f 72 65 20 72 65 6d  69 6e 69 73 63 65 6e 74  |more reminiscent|
000013f0  20 6f 66 20 77 61 74 65  72 20 77 61 76 65 73 2e  | of water waves.|
00001400  0a 0a 41 74 20 61 6e 79  20 74 69 6d 65 20 64 75  |..At any time du|
00001410  72 69 6e 67 20 73 69 6d  75 6c 61 74 69 6f 6e 20  |ring simulation |
00001420  74 68 65 20 74 68 72 65  65 20 6f 70 74 69 6f 6e  |the three option|
00001430  73 20 63 61 6e 20 62 65  20 74 6f 67 67 6c 65 64  |s can be toggled|
00001440  20 6f 6e 20 61 6e 64 20  6f 66 66 20 77 69 74 68  | on and off with|
00001450  20 61 20 6b 65 79 20 74  6f 20 67 69 76 65 20 69  | a key to give i|
00001460  6e 73 74 61 6e 74 20 63  68 61 6e 67 65 2e 20 54  |nstant change. T|
00001470  6f 20 74 6f 67 67 6c 65  20 74 68 65 20 70 72 6f  |o toggle the pro|
00001480  6a 65 63 74 69 6f 6e 2c  20 65 64 67 65 20 61 6e  |jection, edge an|
00001490  64 20 63 6f 6c 6f 75 72  20 65 66 66 65 63 74 2c  |d colour effect,|
000014a0  20 70 72 65 73 73 20 74  68 65 20 27 50 27 2c 27  | press the 'P','|
000014b0  45 27 20 61 6e 64 20 27  43 27 20 6b 65 79 2e 0a  |E' and 'C' key..|
000014c0  0a 0a 33 2e 33 20 53 65  74 74 69 6e 67 73 20 73  |..3.3 Settings s|
000014d0  75 62 6d 65 6e 75 0a 2d  2d 2d 2d 2d 2d 2d 2d 2d  |ubmenu.---------|
000014e0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 57 69 74 68  |-----------.With|
000014f0  20 74 68 65 20 27 73 65  74 74 69 6e 67 73 27 20  | the 'settings' |
00001500  73 75 62 6d 65 6e 75 20  73 6f 6d 65 20 70 68 79  |submenu some phy|
00001510  73 69 63 61 6c 20 70 61  72 61 6d 65 74 65 72 73  |sical parameters|
00001520  20 6f 66 20 74 68 65 20  73 69 6d 75 6c 61 74 65  | of the simulate|
00001530  64 20 70 6c 61 6e 65 20  63 61 6e 20 62 65 20 72  |d plane can be r|
00001540  65 63 6f 6e 66 69 67 75  72 65 64 2e 20 54 6f 20  |econfigured. To |
00001550  61 6c 74 65 72 20 74 68  65 20 64 65 66 61 75 6c  |alter the defaul|
00001560  74 20 76 61 6c 75 65 20  63 6c 69 63 6b 20 6f 6e  |t value click on|
00001570  20 6f 6e 65 20 6f 66 20  74 68 65 20 66 69 76 65  | one of the five|
00001580  20 65 6e 74 72 69 65 73  2c 20 65 6e 74 65 72 20  | entries, enter |
00001590  61 20 63 68 6f 73 65 6e  20 6e 75 6d 62 65 72 20  |a chosen number |
000015a0  61 6e 64 20 70 72 65 73  73 20 72 65 74 75 72 6e  |and press return|
000015b0  2e 20 4f 75 74 20 6f 66  20 72 61 6e 67 65 0a 6e  |. Out of range.n|
000015c0  75 6d 62 65 72 73 20 61  72 65 20 61 75 74 6f 6d  |umbers are autom|
000015d0  61 74 69 63 61 6c 6c 79  20 63 6f 6e 73 74 72 61  |atically constra|
000015e0  69 6e 65 64 20 74 6f 20  74 68 65 20 6d 61 78 69  |ined to the maxi|
000015f0  6d 75 6d 20 6f 72 20 6d  69 6e 69 6d 75 6d 20 76  |mum or minimum v|
00001600  61 6c 75 65 2e 0a 0a 57  69 74 68 20 74 68 65 20  |alue...With the |
00001610  27 77 69 64 74 68 27 20  61 6e 64 20 27 68 65 69  |'width' and 'hei|
00001620  67 68 74 27 20 70 61 72  61 6d 65 74 65 72 73 20  |ght' parameters |
00001630  74 68 65 20 70 68 79 73  69 63 61 6c 20 65 78 74  |the physical ext|
00001640  65 6e 74 20 6f 66 20 74  68 65 20 70 6c 61 6e 65  |ent of the plane|
00001650  20 6d 61 79 20 62 65 20  73 65 74 2e 20 54 68 65  | may be set. The|
00001660  20 77 69 64 74 68 20 6d  61 79 20 62 65 20 76 61  | width may be va|
00001670  72 69 65 64 20 62 65 74  77 65 65 6e 20 31 30 20  |ried between 10 |
00001680  61 6e 64 20 38 30 20 77  68 69 6c 65 20 74 68 65  |and 80 while the|
00001690  20 68 65 69 67 68 74 20  69 73 20 76 61 72 69 61  | height is varia|
000016a0  62 6c 65 20 62 65 74 77  65 65 6e 20 31 30 20 61  |ble between 10 a|
000016b0  6e 64 20 36 34 2e 0a 0a  54 68 65 20 27 76 69 73  |nd 64...The 'vis|
000016c0  63 6f 73 69 74 79 27 20  61 6e 64 20 27 74 69 6d  |cosity' and 'tim|
000016d0  65 20 73 74 65 70 27 20  76 61 6c 75 65 20 64 65  |e step' value de|
000016e0  74 65 72 6d 69 6e 65 20  74 68 65 20 62 65 68 61  |termine the beha|
000016f0  76 69 6f 75 72 20 6f 66  20 74 68 65 20 73 69 6d  |viour of the sim|
00001700  75 6c 61 74 65 64 20 70  6c 61 6e 65 2e 20 54 68  |ulated plane. Th|
00001710  65 20 76 69 73 63 6f 73  69 74 79 20 66 61 63 74  |e viscosity fact|
00001720  6f 72 20 6d 61 79 20 62  65 20 76 61 72 69 65 64  |or may be varied|
00001730  20 62 65 74 77 65 65 6e  20 31 20 61 6e 64 20 31  | between 1 and 1|
00001740  30 2e 20 41 20 76 61 6c  75 65 20 6f 66 20 31 20  |0. A value of 1 |
00001750  67 69 76 65 73 20 61 20  76 65 72 79 20 77 61 74  |gives a very wat|
00001760  65 72 79 20 61 70 70 65  61 72 61 6e 63 65 2e 20  |ery appearance. |
00001770  45 6e 74 65 72 69 6e 67  20 74 68 65 20 6d 61 78  |Entering the max|
00001780  69 6d 75 6d 20 6f 66 20  31 30 20 67 69 76 65 73  |imum of 10 gives|
00001790  20 61 20 76 65 72 79 20  76 69 73 63 6f 75 73 2c  | a very viscous,|
000017a0  20 73 79 72 75 70 79 2c  20 73 69 6d 75 6c 61 74  | syrupy, simulat|
000017b0  69 6f 6e 2e 0a 41 6c 73  6f 20 74 68 65 20 74 69  |ion..Also the ti|
000017c0  6d 65 20 73 74 65 70 20  66 61 63 74 6f 72 20 63  |me step factor c|
000017d0  61 6e 20 62 65 20 76 61  72 69 65 64 20 62 65 74  |an be varied bet|
000017e0  77 65 65 6e 20 31 20 61  6e 64 20 31 30 2e 20 31  |ween 1 and 10. 1|
000017f0  30 20 69 73 20 74 68 65  20 64 65 66 61 75 6c 74  |0 is the default|
00001800  2c 20 61 20 6c 6f 77 65  72 20 6e 75 6d 62 65 72  |, a lower number|
00001810  20 61 6c 6c 6f 77 73 20  79 6f 75 20 74 6f 20 73  | allows you to s|
00001820  6c 6f 77 20 64 6f 77 6e  20 74 68 65 20 61 63 74  |low down the act|
00001830  69 6f 6e 20 62 79 20 72  65 64 75 63 69 6e 67 20  |ion by reducing |
00001840  74 68 65 20 65 6c 61 70  73 65 64 20 73 69 6d 75  |the elapsed simu|
00001850  6c 61 74 69 6f 6e 20 74  69 6d 65 20 62 65 74 77  |lation time betw|
00001860  65 65 6e 20 73 75 63 63  65 73 73 69 76 65 20 66  |een successive f|
00001870  72 61 6d 65 73 2e 0a 0a  46 69 6e 61 6c 6c 79 20  |rames...Finally |
00001880  74 68 65 20 27 62 61 73  65 20 63 6f 6c 6f 75 72  |the 'base colour|
00001890  27 20 6f 70 74 69 6f 6e  20 61 6c 6c 6f 77 73 20  |' option allows |
000018a0  79 6f 75 20 74 6f 20 73  68 69 66 74 20 74 68 72  |you to shift thr|
000018b0  6f 75 67 68 20 74 68 65  20 63 6f 6c 6f 75 72 20  |ough the colour |
000018c0  70 61 6c 6c 65 74 2e 0a  0a 0a 34 2e 20 53 61 76  |pallet....4. Sav|
000018d0  69 6e 67 20 74 68 65 20  73 63 72 65 65 6e 0a 3d  |ing the screen.=|
000018e0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
000018f0  3d 3d 3d 20 20 20 20 20  0a 0a 41 74 20 61 6e 79  |===     ..At any|
00001900  20 74 69 6d 65 20 64 75  72 69 6e 67 20 73 69 6d  | time during sim|
00001910  75 6c 61 74 69 6f 6e 20  74 68 65 20 63 75 72 72  |ulation the curr|
00001920  65 6e 74 20 66 72 61 6d  65 20 63 61 6e 20 62 65  |ent frame can be|
00001930  20 73 61 76 65 64 2e 20  50 72 65 73 73 69 6e 67  | saved. Pressing|
00001940  20 74 68 65 20 27 53 27  20 6b 65 79 20 63 61 75  | the 'S' key cau|
00001950  73 65 73 20 74 68 65 20  63 75 72 72 65 6e 74 20  |ses the current |
00001960  73 63 72 65 65 6e 20 74  6f 20 62 65 20 73 61 76  |screen to be sav|
00001970  65 64 2e 20 54 68 65 72  65 20 69 73 20 6e 6f 20  |ed. There is no |
00001980  6e 65 65 64 20 74 6f 20  65 6e 74 65 72 20 61 20  |need to enter a |
00001990  66 69 6c 65 20 6e 61 6d  65 3b 20 61 6c 6c 20 73  |file name; all s|
000019a0  63 72 65 65 6e 73 20 73  61 76 65 64 20 61 72 65  |creens saved are|
000019b0  20 61 75 74 6f 6d 61 74  69 63 61 6c 6c 79 20 6e  | automatically n|
000019c0  61 6d 65 64 20 61 73 20  44 75 6d 70 30 2c 20 44  |amed as Dump0, D|
000019d0  75 6d 70 31 2c 2e 2e 2e  20 45 6e 73 75 72 65 20  |ump1,... Ensure |
000019e0  74 68 61 74 20 73 75 66  66 69 63 69 65 6e 74 20  |that sufficient |
000019f0  73 70 61 63 65 20 69 73  20 61 76 61 69 6c 61 62  |space is availab|
00001a00  6c 65 20 6f 6e 20 64 69  73 63 73 20 62 65 66 6f  |le on discs befo|
00001a10  72 65 20 73 61 76 69 6e  67 21 0a 0a 0a 35 2e 20  |re saving!...5. |
00001a20  48 69 6e 74 73 20 61 6e  64 20 74 69 70 73 0a 3d  |Hints and tips.=|
00001a30  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00001a40  3d 0a 0a 2d 20 50 72 6f  6a 65 63 74 69 6f 6e 20  |=..- Projection |
00001a50  69 73 20 6d 6f 72 65 20  61 74 74 72 61 63 74 69  |is more attracti|
00001a60  76 65 20 77 69 74 68 20  6c 6f 6f 73 65 20 65 64  |ve with loose ed|
00001a70  67 65 73 2e 0a 2d 20 43  6f 6c 6f 75 72 20 6c 6f  |ges..- Colour lo|
00001a80  6f 6b 75 70 20 69 73 20  70 72 65 74 74 69 65 72  |okup is prettier|
00001a90  20 62 75 74 20 69 74 20  73 6c 6f 77 20 64 6f 77  | but it slow dow|
00001aa0  6e 20 74 68 65 20 73 69  6d 75 6c 61 74 69 6f 6e  |n the simulation|
00001ab0  20 63 6f 6e 73 69 64 65  72 61 62 6c 79 2e 0a 2d  | considerably..-|
00001ac0  20 53 69 6d 75 6c 61 74  69 6f 6e 20 77 69 74 68  | Simulation with|
00001ad0  20 73 6d 61 6c 6c 20 77  69 64 74 68 20 61 6e 64  | small width and|
00001ae0  20 68 65 69 67 68 74 20  6d 61 79 20 65 78 65 63  | height may exec|
00001af0  75 74 65 20 74 6f 6f 20  66 61 73 74 2c 20 74 68  |ute too fast, th|
00001b00  65 72 65 66 6f 72 65 20  79 6f 75 20 73 68 6f 75  |erefore you shou|
00001b10  6c 64 20 72 65 64 75 63  65 20 74 68 65 20 74 69  |ld reduce the ti|
00001b20  6d 65 20 73 74 65 70 2e  0a 2d 20 57 68 65 6e 20  |me step..- When |
00001b30  79 6f 75 20 66 69 6e 64  20 74 68 61 74 20 74 68  |you find that th|
00001b40  65 20 77 61 76 65 73 20  64 65 63 61 79 20 74 6f  |e waves decay to|
00001b50  20 73 6c 6f 77 6c 79 20  74 68 65 6e 20 69 6e 63  | slowly then inc|
00001b60  72 65 61 73 65 20 74 68  65 20 76 69 73 63 6f 73  |rease the viscos|
00001b70  69 74 79 20 66 61 63 74  6f 72 2e 0a 2d 20 44 69  |ity factor..- Di|
00001b80  70 6f 6c 65 20 73 6f 75  72 63 65 73 20 61 72 65  |pole sources are|
00001b90  20 63 6f 6e 73 74 72 75  63 74 65 64 20 77 69 74  | constructed wit|
00001ba0  68 20 74 77 6f 20 76 65  72 79 20 63 6c 6f 73 65  |h two very close|
00001bb0  20 73 6f 75 72 63 65 73  20 77 69 74 68 20 74 68  | sources with th|
00001bc0  65 20 73 61 6d 65 20 61  6d 70 6c 69 74 75 64 65  |e same amplitude|
00001bd0  20 61 6e 64 20 66 72 65  71 75 65 6e 63 79 20 62  | and frequency b|
00001be0  75 74 20 77 69 74 68 20  61 20 70 68 61 73 65 20  |ut with a phase |
00001bf0  64 69 66 66 65 72 65 6e  63 65 20 6f 66 20 70 69  |difference of pi|
00001c00  2e 20 54 6f 20 61 76 6f  69 64 20 72 65 66 6c 65  |. To avoid refle|
00001c10  63 74 69 6f 6e 73 20 61  74 20 74 68 65 20 65 64  |ctions at the ed|
00001c20  67 65 73 20 77 68 69 63  68 20 77 6f 75 6c 64 20  |ges which would |
00001c30  73 70 6f 69 6c 20 74 68  65 20 65 66 66 65 63 74  |spoil the effect|
00001c40  20 69 6e 63 72 65 61 73  65 20 74 68 65 20 76 69  | increase the vi|
00001c50  73 63 6f 73 69 74 79 20  74 6f 20 37 2e 0a 2d 20  |scosity to 7..- |
00001c60  41 6e 61 6c 6f 67 6f 75  73 20 61 20 73 77 69 72  |Analogous a swir|
00001c70  6c 20 6d 61 79 20 62 65  20 67 65 6e 65 72 61 74  |l may be generat|
00001c80  65 64 20 62 79 20 66 6f  75 72 20 73 6f 75 72 63  |ed by four sourc|
00001c90  65 73 20 77 69 74 68 20  74 68 65 20 73 61 6d 65  |es with the same|
00001ca0  20 61 6d 70 6c 69 74 75  64 65 20 61 6e 64 20 66  | amplitude and f|
00001cb0  72 65 71 75 65 6e 63 79  20 62 75 74 20 77 69 74  |requency but wit|
00001cc0  68 20 70 68 61 73 65 73  20 30 2c 20 30 2e 35 2c  |h phases 0, 0.5,|
00001cd0  20 31 20 61 6e 64 20 20  31 2e 35 20 70 69 2c 20  | 1 and  1.5 pi, |
00001ce0  70 6f 73 69 74 69 6f 6e  65 64 20 69 6e 20 61 20  |positioned in a |
00001cf0  63 6c 6f 73 65 20 63 72  6f 73 73 20 66 6f 72 6d  |close cross form|
00001d00  61 74 69 6f 6e 2e 0a 2d  20 41 6c 73 6f 20 77 61  |ation..- Also wa|
00001d10  74 63 68 20 73 6f 6d 65  20 73 6f 75 72 63 65 73  |tch some sources|
00001d20  20 77 69 74 68 20 6c 6f  77 20 61 6d 70 6c 69 74  | with low amplit|
00001d30  75 64 65 20 61 6e 64 20  68 69 67 68 20 66 72 65  |ude and high fre|
00001d40  71 75 65 6e 63 79 20 73  75 70 65 72 69 6d 70 6f  |quency superimpo|
00001d50  73 65 64 20 6f 6e 20 61  20 73 6f 75 72 63 65 20  |sed on a source |
00001d60  77 69 74 68 20 61 20 68  69 67 68 20 61 6d 70 6c  |with a high ampl|
00001d70  69 74 75 64 65 20 61 6e  64 20 6c 6f 77 20 66 72  |itude and low fr|
00001d80  65 71 75 65 6e 63 79 2e  0a 2d 20 42 61 73 65 20  |equency..- Base |
00001d90  63 6f 6c 6f 75 72 20 31  34 30 20 61 6c 73 6f 20  |colour 140 also |
00001da0  67 69 76 65 73 20 6e 69  63 65 20 63 6f 6c 6f 75  |gives nice colou|
00001db0  72 73 2e 0a 0a 0a 45 6e  6a 6f 79 20 74 68 65 20  |rs....Enjoy the |
00001dc0  70 72 6f 67 72 61 6d 20  21 0a 0a 0a 0a 0a 41 6e  |program !.....An|
00001dd0  79 20 63 6f 6d 6d 65 6e  74 73 20 77 65 6c 63 6f  |y comments welco|
00001de0  6d 65 20 61 74 20 3a 0a  0a 4a 61 6e 20 76 6c 69  |me at :..Jan vli|
00001df0  65 74 69 6e 63 6b 0a 45  73 73 65 6e 64 72 65 65  |etinck.Essendree|
00001e00  66 20 31 35 0a 38 33 30  30 20 4b 6e 6f 6b 6b 65  |f 15.8300 Knokke|
00001e10  2d 48 65 69 73 74 0a 42  65 6c 67 69 75 6d 0a 0a  |-Heist.Belgium..|
00001e20