from gyro import cNorm, deg2rad from cmath import exp I = complex(0,1) WHITE = (255,255,255) BLACK = (0,0,0) OFFSET = 0.015625 ROT = cNorm(exp(deg2rad(2)*I)) IROT = 1/ROT