p3he/constants.py

8 lines
153 B
Python
Raw Normal View History

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