p3he/constants.py
2024-04-05 01:51:26 +05:00

9 lines
172 B
Python

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