Skip to content

Latest commit

 

History

History

vortex

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Vortex

image0

How is the vortex created?

  1. Define multiple concentric circles
  2. Rotate every circle by a small amount
  3. Save a frame, repeat

watch the two innermost circles to see what is happening

Running the Script

You need to install the imageio package:

pip install imageio

The code

.. literalinclude:: vortex.py