p3he/constants.py

9 lines
172 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)
2024-04-04 20:51:26 +00:00
OFFSET = 0.0078125
ROT = cNorm(exp(deg2rad(2)*I))
IROT = 1/ROT