def get_morton_curve(): chain_code = 'i','Ij','i' bases = ['ij'] * 4 return FractalCurve( proto=chain2proto(chain_code), base_maps=[basis2base_map(b) for b in bases], )
def get_coil_curve(): chain_code = 'jjiJJijj' bases = ['ji','Ji','ji','jI','JI','jI','ji','Ji','ji'] return FractalCurve( proto=chain2proto(chain_code), base_maps=[basis2base_map(b) for b in bases], )
def get_tokarev_curve(): """3-D curve.""" chain_code = 'kjKikJK' bases = ['jki', 'kij', 'kij', 'iJK', 'iJK', 'KIj', 'KIj', 'JkI'] return FractalCurve( proto=chain2proto(chain_code), base_maps=[basis2base_map(b) for b in bases], )
def get_haverkort_curve_2(): """3-D curve with time reversal.""" chain_code = 'kjKikJK' bases = ['KIJ1','KJI1','KjI0','Jki1','jki0','kjI1','kJI0','iKJ0'] return FractalCurve( proto=chain2proto(chain_code), base_maps=[basis2base_map(b) for b in bases], )
def get_haverkort_curve_1(): """3-D curve with time reversal.""" chain_code = 'kjKikJK' bases = ['kji0','jik0','kIj1','iKJ0','IKJ1','KIj0','Kij1','Jki1'] return FractalCurve( proto=chain2proto(chain_code), base_maps=[basis2base_map(b) for b in bases], )
def get_R_curve(): chain_code = 'jjiiJIJi' bases = ['ji','ji','ij','ij','ij','IJ','JI','JI','ij'] return FractalCurve( proto=chain2proto(chain_code), base_maps=[basis2base_map(b) for b in bases], )
def get_serpentine_curve(): chain_code = 'jjiJJijj' bases = ['ij','Ji','ji','iJ','JI','iJ','ji','Ji','ij'] return FractalCurve( proto=chain2proto(chain_code), base_maps=[basis2base_map(b) for b in bases], )