From b154bb21955584653a9007fb24de8a60d676fbea Mon Sep 17 00:00:00 2001 From: "A.M. Rowsell" Date: Tue, 19 Nov 2024 06:13:00 -0500 Subject: [PATCH] Updated readme with fixed image Fixed merge conflict between gitlab and frzn.dev --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 4ef315e..b532f5f 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,9 @@ 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 θ: +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://frzn.dev/~amr/images/hypotrochoid.png) - ![](https://frzn.dev/~amr/images/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.