Module curvepy.const
Expand source code
import math
GOLD = (math.sqrt(5.0) + 1) / 2 # 1.61803398875
GOLD_2 = GOLD ** 2 # 2.6180339888
GOLD_4 = GOLD ** 4 # 6.8541019663
GOLD_1_2 = GOLD ** 0.5 # 1.2720196495
GOLD_LOG = math.log(GOLD)