Tag: simulation
Spectral Harmonographs
This Python + Pygame program draws the trace of 4 decaying sine waves, 2 per axis, with rainbow colours. It… read more Spectral Harmonographs
Number guessing game
The number guessing game incorporates several simple but important elements of elementary programming and is a good candidate for an… read more Number guessing game
Drawing Fractals with Lindenmayer Systems
Lindenmayer systems, or L-systems, provide a very powerful way to construct fractals. Lindenmayer used L-systems to describe the behaviour of… read more Drawing Fractals with Lindenmayer Systems
A Graphical Dice Simulator
This PyGame program simulates the roll of a die (or dice if you prefer). It’s a fairly simple, straightforward thing… read more A Graphical Dice Simulator
Extensible Harmonograph
Often seen in science museums, the harmonograph is a device that combines wave motions (e.g. from some pendulums) to move… read more Extensible Harmonograph




