Jonathan. Frech’s WebBlog

Rand pix (#17)

Jonathan Frech

This program generates a snake of pixels which is ran­dom­ly moving across the screen. If it leaves the screen, it (as in snakes) gets out the oth­er side. It is also re­strict­ed to a length of 1000 pixels. As in “Colors V” there are oth­er ways the snake can look, based on the code used (I may post another color variant in the future).

Source code: rand-pix.py