Simulating Harmonographs

A harmonograph is a mechanical device that uses pendulums to create geometrical patterns. For example, to create a two-pendulum harmonograph, you might use one pendulum to oscillate a pen along the axis and another to oscillate the paper along the axis. Harmonographs were quite popular around 100 years ago and were often found in people's homes. You can simulate a harmonograph by using sums of sinusoids, where each sinusoid represents an individual pendulum. This Demonstration is capable of simulating several different kinds of harmonograph using up to four independent pendulums.
In this Demonstration, the sliders control the selected pendulum. You can turn the selected pendulum on or off by selecting the activate checkbox.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


The total frequency of each pendulum is given by the sum of the "coarse tuning" and "fine tuning" sliders.
The "max recursion" slider can be used to improve plot quality in certain circumstances.
Snapshot 1: by deactivating pendulums 2 and 4 we can simulate a two-pendulum harmonograph: this also serves as an example of a damped Lissajous curve
Snapshot 2: here we have used only two pendulums again but by switching off the damping we get a standard, undamped Lissajous curve
Snapshot 3: here we have switched on all four pendulums, switched off damping, and altered the phases of each pendulum such that the system of equations is now similar to those that produce spirograph-like patterns
Snapshot 4: this is an example of a harmonograph pattern produced using all four damped pendulums
Snapshot 5: a butterfly-like pattern produced using three damped pendulums
Snapshot 6: a four-pendulum example
Snapshot 7: another four-pendulum example
Snapshot 8: a rather chaotic-looking four-pendulum example
For more details concerning this Demonstration visit http://www.walkingrandomly.com/?p=151
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+