A swarm of flies that generate lines between them that draw constellations.

Turn gravity off for flies to keep on moving, turn it on for them to stop at the given distance (variable can be dependent on width or height).

The flies bounce back off when they reach the limits of the screen.

The stroke of the lines controlled by their lengths compared to the width of the screen.  Shorter lines will have a darker stroke (controlled by opacity & strokeWeight).

Distribution of the flies and their speed can be controlled within the class.

Number of flies and number of center points can be changed to come up with different results.

A button restarts the drawing.