Logistic map

My friend was playing around with his TI-84, and he showed me a picture of a classic example of chaos theory at work. So I decided to port his algorithm to PHP and use it to output an image of the example. You can view it here.

Logistic map