Point distance visualiser (Python)

A tool/toy that generates a random set of points in 3D space and draws links between them, with colour depending on direction and brightness depending on proximity. Can be rotated in 3D. Wrote this for kicks in an Algorithms & Analysis class after the lecturer started talking about graph link weights. Requires PyGame. Runs in Python 2.7 or 3.
Source: closestpoints.py
(Requires vec2.py)
Continue reading