r/xkcd • • 19h ago Bravo

Geothmetic meandian "fractal"! (from xkcd #2435, rendered in desmos)

Thumbnail
gallery
217 Upvotes

this comic https://xkcd.com/2435/ got sent in the desmos discord server and I thought turning the process into a fractal might be interesting, the above images are some personal favorites but playing with it live is also fun, this subreddit hates videos for some reason so heres an imgur link for a recording of playing with it: https://imgur.com/a/u7W0Z7c

as for internals, mean and geometric mean generalize to complex numbers already but I just defined median componentwise, havent tested other interpretations of a complex median though. The initial tuple passed into the function is just [(x+yi)ᵃ,(x+yi)ᵇ,(x+yi)ᵈ] but this can also be changed to get some other fun images

link:
https://www.desmos.com/notebook/onclt3cqxy/view