# Lorenz attractor using turtle

25 Jun 2014I recently discovered that a nice way to visualize the behavior of the Lorenz system is to use Python’s `turtle`

module. In case you didn’t know, the Lorenz system is defined by the equations:

It’s interesting that such a simple system of differential equations can lead to such nontrivial results. Here’s what I came up with:

Pretty self-explanatory I think, but its output is pretty cool:

Here is what gets produced after it runs for a while: