Puddle: Executable or Text Version

Choose any one of your .jpg or .bmp photos, and this facility will give the impression of a stone being dropped into a puddle with your picture below. Totally trivial, but as mathematically complex as those programs below. Highly computationally intensive, so therefore mostly transfered to embedded floating point ASM code.

For the Text version, you'll need to provide your own background picture - or disable that feature.

Surface Water Waves: Executable or Text Version

This program illustrates the Dispersive nature of water waves. This means that waves of different wavelengths travel at different speeds, causing the overall shape of the wave to "spread out" over time. Long wave-lengths travel slightly faster than short ones. Also, wave-crests travel exactly twice as fast as the overall wave "packet", so that crests are created at the back of the packet and disappear at the front continually.

This program is very computationally intensive, so the waves are calculated in advance and stored so as to get a quasi real-time motion. You need at least a 1Ghz PC for this to look good. After the waves have stopped moving, press -r- to immediately re-display the same sequence. Press any other key to exit.

Circular Water Waves: Executable or Text Version

When running the program, press -Esc- to exit, or
Also mathematical outline available as a Word document: HERE
A profile of Circular Waves is shown below.

The BallRoom: Executable or Text Version

You can see from the picture below what this program is all about. It includes the ability to move up and down, backwards and forwards, and to alter the viewing angle. All the perspectives and reflections are as mathematically precise as practicable.

However, the picture is surreal in the sense that the balls do not appear in each others' reflections. I have also made the reflections in the balls brighter than the light source, for visual effect.

The Mind Map: Executable or Text Version

To think about what further BASIC Programs I could develop for my Website, I recently drew a Mind-Map representation of the classifications and - hey presto - why not do a Mind Map Program? Commercially available Mind-Map programs have much more features, but I particularly liked the idea of a non-Windows-y, spartan approach, not dissimilar to the bare sheet of paper and some coloured pens one would use just sitting at a desk.

MIDI Mod: Executable or Text Version

MIDI stands for Musical Instrument Digital Interface. Your PC has the facility to play MIDI files ( .mid file extension ) via the Sound Card. The Sound Card has 128 built in MIDI Musical Instrument sounds (although the last 8 are sound effects, and I discard use of these in my program.)

You can get MIDI files from the Internet. For example, at the Classical Piano MIDI Page

To use these files with my program you should download and save the .mid file to a suitable folder on your PC. You can take one the Classical Piano MIDI files from the aforementioned sites and change the instruments to Banjo, Bagpipes and Steel Drums - as you wish! Here is Scott Joplins Maple Leaf Rag. Right-click on it and use "Save Target As", or if you want it to play as is, just left-click on it.

MIDI Demo: Executable or Text Version

You can choose an instrument out of the 120 made available to play some decent-sounding computer-generated MIDI Music. It's actually based on the extended-triad chords of the key of C Major. That is: CMaj7, Dm7, Em7, FMaj7, G7, Am7, Bdim7, played in a random order. Alternative C# demo: Executable. You also need to download the MIDI library: DLL Library. Here also is a listing of my basic C# MIDI library: MIDI_Lib which illustrates use of P/Invoke to import a Windows DLL in Visual C#.

Return to Top Page

Next Page