fxyt icon indicating copy to clipboard operation
fxyt copied to clipboard

Polar coordinates?

Open mccartney opened this issue 11 months ago • 3 comments

I think it would work great if it came with support for polar coordinates, thus making the pictures more "circular".

mccartney avatar Mar 23 '24 12:03 mccartney

So instead of evaluating f(x, y, t), we evaluate f(r, θ, t)? That does sound like a very interesting idea. Thanks for sharing! It sounds like it deserves its own project, say, a project named FRΘT. If anyone is interested to implement it, please feel free to reuse the code in this project under the terms of the MIT license.

By the way, I know at least one FXYT demo that makes circular animation with FXYT. Quoting TJSomething:

I got this fun little ripple effect by implementing Newton's method to do a square root.

https://susam.net/fxyt.html#MXN127dDpYN127dDpsN5qDN2qNN6bRRSDRDRSqsN2qRcPSPTN2pdN20rN12p

susam avatar Mar 23 '24 16:03 susam

Working version image

mccartney avatar Mar 24 '24 17:03 mccartney

Actually all the basics like checkers pattern look interesting here: image

mccartney avatar Mar 24 '24 17:03 mccartney

Closing this open issue now. I am glad you came across this project and developed a version of it with polar coordinates.

susam avatar Aug 29 '24 19:08 susam