This repository has been archived on 2026-05-22. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Harmonograph/README.md
2017-08-01 23:20:43 -04:00

16 lines
1.2 KiB
Markdown

# Harmonograph
Generates patterns like a real [harmonograph](https://en.wikipedia.org/wiki/Harmonograph).
This was just a fun project to work on. It generates a complex parametric equation from input JSON files, and animates the resulting function. It can also save the final image to a file. There are some pre-made JSON files with interesting results in [`Harmonograph/Presets`](https://github.com/allemangD/Harmonograph/tree/master/Harmonograph/presets).
#### [`sparse2.json`](https://github.com/allemangD/Harmonograph/blob/master/Harmonograph/presets/sparse2.json)
![sparse2.png](https://raw.githubusercontent.com/allemangD/Harmonograph/master/Harmonograph/presets/sparse2.png)
#### [`sparse.json`](https://github.com/allemangD/Harmonograph/blob/master/Harmonograph/presets/sparse.json)
![sparse.png](https://raw.githubusercontent.com/allemangD/Harmonograph/master/Harmonograph/presets/sparse.png)
It is also possible to set the lines to be transparent, which can have interesting results when the friction is set very low:
#### [`blackonwhite.json`](https://github.com/allemangD/Harmonograph/blob/master/Harmonograph/presets/blackonwhite.json)![blackonwhite.png](https://raw.githubusercontent.com/allemangD/Harmonograph/master/Harmonograph/presets/blackonwhite.png)