예제 #1
0
파일: examples.py 프로젝트: Anton495/peano
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],
    )
예제 #2
0
파일: examples.py 프로젝트: Anton495/peano
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],
    )
예제 #3
0
파일: examples.py 프로젝트: Anton495/peano
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],
    )
예제 #4
0
파일: examples.py 프로젝트: Anton495/peano
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],
    )
예제 #5
0
파일: examples.py 프로젝트: Anton495/peano
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],
    )
예제 #6
0
파일: examples.py 프로젝트: Anton495/peano
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],
    )
예제 #7
0
파일: examples.py 프로젝트: Anton495/peano
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],
    )