/harmonograph

A Javascript written tool to generate geometric images like Harmonograph.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Harmonograph

A Javascript written tool to draw geometric images like Harmonograph.

A harmonograph is a mechanical apparatus that employs pendulums to create a geometric image. The drawings created typically are Lissajous curves or related drawings of greater complexity. The devices, which began to appear in the mid-19th century and peaked in popularity in the 1890s, cannot be conclusively attributed to a single person, although Hugh Blackburn, a professor of mathematics at the University of Glasgow, is commonly believed to be the official inventor.

This project simulates a harmonograph, one of the various types available. To generate drawings, users can specify their own settings. Users can see a few preset samples that are being emulated. Prior to drawing, they have the ability to alter the inputs of preset designs. The browser will cache the last configuration that was used.

The script is written in Vanillajs. For basic UI, I used Bootstrap 5 and few icons from SvgRepo;

Larger screens provide the greatest experience.

Check Live