Ring simulator (PyQt4)