This program is a port and mod of a program shared by Antoni Gual Via with the "BASIC, QBasic, GWBasic computer programming" Facebook group.
From Antoni's post:
Some graphics from Mr Dony's book. It uses the "bugs in love" algorithm. The circle is divided into triangular sectors. At each vertex of one sector there is a bug that's attracted by tha bug in the vertex in front of him so it moves to reach it. At intervals a picture of the new triangle defined by the moving bugs is plotted. The order of the initial vertices is inverted in even and odd sectors to increase symmetry.
No comments:
Post a Comment