Plaids Woven by Ants Screen Saver

A common pattern created by the Ants screen saver is plaids. A plaid occurs when several ants all having both angles set to 0 have different initial vectors. The program is written so that when the ant gets to the edge of the screen, it is displaced by the absolute value of its vector. For an ant travelling horizontally across the screen, this results in the entire screen being painted one row at a time. Here are some sample plaids:

Send comments to author, Victor Engel at

Go back to Ants screen saver page.

Go back to Victor's Home Page.

This Page Copyright © 1995 Victor S. Engel
This page and any of its contents may be reproduced only under specific conditions.