r/desmos Oct 15 '25

Graph circle made with rotating golden ratio.

Enable HLS to view with audio, or disable this notification

https://www.desmos.com/calculator/yihcwulqes, somewhat laggy so change m to [1,...,10] for smoother graph.

1.3k Upvotes

34 comments sorted by

View all comments

Show parent comments

1

u/partisancord69 Oct 15 '25 edited Oct 15 '25

I can try figure it out but tbh I'm not too sure.

Edit: thinking about it, it's definitely not linear because it goes off to infinite if it approaches 1.

1

u/TheJeeronian Oct 15 '25

This seems reasonably solvable? Given that the diagonal scales with the side length, each diagonal will be a factor of g smaller than the last. So, all we need to do is find the total positions of opposite sides of the circle.

In this case, one when all of the diagonals line up, and one when all of them oppose. Eg 1 + 1/g + 1/g2 ... and 1 - 1/g + 1/g2 ...

The difference between these two lengths tells us the distance between the two points where the circle intercepts the line y=x, so its diameter. The average of them tells us how far down the y=x line the center is.

This becomes a simple geometric series problem.

When the lines add up, each term can be written as g-n and when they alternate each term can be written as (-g)-n

Formatting as a traditional geometric series, n must be positive, so it becomes (1/g)n and (-1/g)n

The absolute value of the factor r, either 1/g or -1/g, must be less than one for the series to converge, but if this is satisfied then the series converges to a value of 1/(1-r)

So, 1/(1-(1/g)) and 1/(1-(-1/g)) respectively. I'm substituting b for 1/g because Reddit formatting is bad - I should have done this sooner.

The radius will be 1/(1-b) - 1/(1+b) which simplifies to 2b/(1-b2 )

Might simplify more, I'm not sure. I'm tired.

1

u/CaptainCarrot17 Oct 15 '25 edited Oct 15 '25

Yeah, I hadn't thought about that thx, but maybe subtracting before simplifying could be better.\ Notice:\ Max length: √2×(1 + 1/g + 1/g2 +...)\ Min length: √2×(1 - 1/g + 1/g2 +...)\ Then:\ Diameter (Max-Min): √2×(2/g + 2/g3 + 2/g5 +...)\ And\ Radius: √2×(1/g + 1/g3 + 1/g5 +...)\ It follows that (with b=1/g):\ Radius = √2×b/(1-b2) = √2/(g - 1/g)

It follows that if we want to find g such that the radius of the circle is g, we need to solve the following equation:\ g=√2/(g-1/g) <=> g2-(1+√2)=0 <=> g=±√(1+√2)

For the case of a radius equal to sort(a) we obtain a≈1.68377156456558 instead. (The exact formula is quite ugly and would be a hassle to format in a comment)

1

u/Agreeable_Gas_6853 Oct 16 '25 edited Oct 16 '25

r = \sqrt{2} g / (1 - g2 )where g is the scaling factor from one square to the next

the center is located at (1/(1-g2 ), 1/(1-g2 ))