Help Index

Virtual Harmonograph Help

Copyright © 2011 JM Gustafson, WorldTree Software


I would like to see your harmonographs. Export them and send them to me.


Overview

A harmonograph is a mechanical device that employs pendulums to create a picture called a harmonogram. Virtual Harmonograph replaces the mechanical device with a computer application so you can create them without having to build one.

This application emulates a real-world harmonograph with any number of pendulums. Drawing a harmonogram on a flat 2-D surface you can have up to 4 pendulums. Two of them control the horizontal and vertical movement of the pen, and two of them control the movement of the drawing surface.

Virtual harmonograph also allows you to rotate the drawing surface back and forth in an arc. Think of it as a swing. You can wind it up and let go and it will unwind then wind back up again until it runs out of energy.

Using one horizontal and one vertical pendulum produces Lissajous curves. Play around with different numbers of pendulums and rotation amounts to see what you come up with and let me know of any interesting results you get.

NEW! You can now add what I call pseudo-pendulums. These pseudo-pendulums control pen width, pen color, and pen opacity. You specify two values and it uses the same pendulum algorithm to move between the two values. For example, you might have a pseudo-pendulum for pen color where color 1 is red and color 2 is blue. As the harmonograph is drawn the color will gradually change from red to blue and back to red. It produces some very interesting results.


Browser Requirements

Virtual Harmonograph is an HTML5 web application. It requires a browser that supports the HTML5 features of local storage and canvas. Some examples of supported browsers are IE 9+, Firefox 3.5+, Chrome 4+ and Safari 4+.

Note: Because javascript can't access the local file system, this application uses your browser's local storage feature to save harmonographs. Therefore if you save a harmonograph on one computer it will not be available if you use a different computer or browser. Use the export/import feature to move harmonograms between computers or share them with others.


Tips


Contact

Please contact me here if you have any questions, suggestions, comments or bugs to report-- or if you would like to be notified when new versions are released. Also send me any cool harmonograph settings you may come up with (use the export feature). I would like to see them.


License

Virtual Harmonograph is free to use. It may not be copied to any other server without the author's consent. The code is copyright © 2011 by JM Gustafson. All rights reserved.


Harmonograph Properties

The properties dialog is where you define the parameters for the harmonograph. It contains these tabs; Harmonograph, Pendulums, Graphics, Visualization.

Harmonograph Tab

This tab defines general settings of the harmonograph.

Pendulums Tab

This tab is used to define the pendulums. It contains a list all of the pendulums as well as a button to add more. Click on a pendulum in the list to edit its properties.

X-Axis and Y-Axis properties:

Rotation properties:

Pen Color properties:

Pen Opacity properties:

Pen Width properties:

Buttons

Graphics Tab

This tab contains settings that determines graph colors and how the graph is drawn.

Visualization Tab

This tab contains settings that allow you slow down the harmonograph and see the pen position so you can see how it works.


Toolbar