I was looking again at some of the intersecting circles I wrote about last month, looking at 2, 3, 4, 5, 6 intersecting circles one after the other, and it looked pretty smart, so I tried making an animated GIF out of it. The R package animation makes it pretty easy.
Here’s the setup, which gives the drawcircles
function.
We want to go from 1 circle to 60, then back down to 1, and then loop all of that so it repeats. The looping is taken care of by the GIF, but to generate a sequence of numbers (1, 2, 3, …, 59, 60, 59, …, 2) (the 1 will happen when the loop starts again ) we can use a simple R command. Here’s how to do it up to 10 and back:
Putting it all together:
The GIF is 2.1 MB, which is pretty large. Perhaps there’s some way to make a smaller file. In any case, it’d be nice to see that projected on a huge wall. Nice vids.