From e317ffb6c5e1e074d98e0909d225e0f5a0b2627a Mon Sep 17 00:00:00 2001 From: "A.M. Rowsell" Date: Sun, 27 Jun 2021 21:10:24 -0400 Subject: [PATCH] Added readme in Markdown format --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..d6b07ac --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +Spirographs! + +Everyone who grew up playing with this toy remembers it fondly. Very cool shapes and patterns. Recently, I was wondering if there was a mathematical formula describing the shapes created by Spriographs, and of course there is! + +They're actually quite simple. The shapes are called [hypotrochoids](https://en.wikipedia.org/wiki/Hypotrochoid) and [epitrochoids](https://en.wikipedia.org/wiki/Epitrochoid). To calculate each point, you simple use the following parametrized equations, plugging in 0 to 2π for θ: + +![](https://frozendev.tk/~amr/hypotrochoid.png) + +![](https://frozendev.tk/~amr/epitrochoid.png) + +And that's it! To play around with the different patterns, this Python GTK3 app was created so you could use sliders to change the parameters and see how they affect the output.\ \ No newline at end of file