David Amos Profile picture
Author, technical writer, and recovering mathematician. He/him. New book ➡ https://t.co/n4R2oow8N9…

Feb 9, 2022, 8 tweets

Today's #JuliaLang doodle with Javis.jl is recreating a classic...

Look closely at the circles. Are the curving at all?

Here's the code:

(I'm sure there's a better way to do this, I just haven't completely figured out Javis yet!)

I think disks work better than circles for this:

I also cleaned up the code and added some comments to hopefully make it easier to understand what's happening:

And here's the Gist: gist.github.com/somacdivad/b9b…

Adding more disks is pretty fun. Here's N=12:

And here's 24:

And finally, 100:

(keep in mind no part of this is actually rotating!)

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling