Esempio n. 1
0
def neutral():
    p1 = Point(1, 5)
    t1 = Point(10, 1)
    h1 = (45, 45, 1)

    move_list = [
        [p1, p1, p1, p1, t1, h1],
    ]

    return move_list
Esempio n. 2
0
def sad():
    p1 = Point(1, 5)
    t1 = Point(10, 1)
    h1 = (45, 45, 1)
    h2 = (80, 45, 1)

    move_list = [
        [p1, p1, p1, p1, t1, h1],
        [p1, p1, p1, p1, t1, h2],
    ]

    return move_list
Esempio n. 3
0
def neutral():
    '''
    Returns a list of movements corresponding to the "neutral" emotion.
    '''
    p1 = Point(1, 5)
    t1 = Point(10, 1)
    h1 = (45, 45, 1)

    move_list = [
        [p1, p1, p1, p1, t1, h1],
    ]

    return move_list
Esempio n. 4
0
def surprised():
    p1 = Point(4.5, 8.5)
    t1 = Point(10, 1)
    t2 = Point(45, 2)
    h1 = (45, 45, 1)
    h2 = (50, 70, 5)

    move_list = [
        [p1, p1, p1, p1, t1, h1],
        [p1, p1, p1, p1, t2, h2],
    ]

    return move_list
Esempio n. 5
0
def happy():
    p1 = Point(2.5, 6.5)
    p2 = Point(8, 7)
    p3 = Point(1, 8)
    t1 = Point(10, 1)
    h1 = (45, 45, 1)
    h2 = (30, 45, 1)

    move_list = [
        [p1, p2, p1, p2, t1, h1],
        [p1, p3, p1, p2, t1, h2],
    ]

    return move_list
Esempio n. 6
0
def fearful():
    p1 = Point(3, 7)
    p2 = Point(1, 8)
    t1 = Point(10, 1)
    t2 = Point(60, 2)
    h1 = (45, 45, 1)
    h2 = (80, 80, 5)

    move_list = [
        [p1, p1, p1, p1, t1, h1],
        [p2, p2, p2, p2, t2, h2],
    ]

    return move_list
Esempio n. 7
0
def angry():
    p1 = Point(8, 6)
    p2 = Point(1, 6)
    t1 = Point(10, 2)
    t2 = Point(80, 2)
    h1 = (45, 45, 1)
    h2 = (80, 60, 1)

    move_list = [
        [p1, p1, p1, p1, t1, h1],
        [p1, p2, p1, p1, t2, h2],
        [p1, p2, p1, p1, t1, h2],
        [p1, p2, p1, p1, t2, h2],
        [p1, p2, p1, p1, t1, h1],
    ]

    return move_list
Esempio n. 8
0
def disgusted():
    p1 = Point(4.5, 8.5)
    p2 = Point(2, 7)
    t1 = Point(10, 1)
    h1 = (44, 44, 1)
    h2 = (70, 62, 4)
    h3 = (70, 30, 4)

    move_list = [
        [p1, p1, p1, p1, t1, h1],
        [p2, p2, p2, p2, t1, h1],
        [p2, p2, p2, p2, t1, h2],
        [p2, p2, p2, p2, t1, h3],
        [p2, p2, p2, p2, t1, h2],
        [p2, p2, p2, p2, t1, h3],
    ]

    return move_list
Esempio n. 9
0
def sad():
    '''
    Returns a list of movements corresponding to the "sad" emotion.
    '''
    p1 = Point(1, 5)
    t1 = Point(10, 1)
    h1 = (45, 45, 1)
    h2 = (80, 45, 1)

    move_list = [
        [p1, p1, p1, p1, t1, h1],
        [p1, p1, p1, p1, t1, h2],
        [p1, p1, p1, p1, t1, h2],
        [p1, p1, p1, p1, t1, h2],
        [p1, p1, p1, p1, t1, h1],
        [p, p, p, p, t, h],
    ]

    return move_list
Esempio n. 10
0
def happy():
    '''
    Returns a list of movements corresponding to the "happy" emotion.
    '''
    p1 = Point(2.5, 6.5)
    p2 = Point(8, 7)
    p3 = Point(1, 8)
    t1 = Point(10, 1)
    h1 = (45, 45, 1)
    h2 = (30, 45, 1)

    move_list = [
        [p1, p2, p1, p2, t1, h1],
        [p1, p3, p1, p2, t1, h1],
        [p1, p3, p1, p2, t1, h1],
        [p1, p3, p1, p2, t1, h1],
        [p1, p2, p1, p2, t1, h1],
        [p, p, p, p, t, h],
    ]

    return move_list
Esempio n. 11
0
def fearful():
    '''
    Returns a list of movements corresponding to the "fearful" emotion.
    '''
    p1 = Point(3, 7)
    p2 = Point(1, 8)
    t1 = Point(10, 1)
    t2 = Point(60, 2)
    h1 = (45, 45, 1)
    h2 = (80, 80, 4)

    move_list = [
        [p1, p1, p1, p1, t1, h1],
        [p2, p2, p2, p2, t2, h2],
        [p2, p2, p2, p2, t2, h2],
        [p2, p2, p2, p2, t2, h2],
        [p1, p1, p1, p1, t1, h1],
        [p, p, p, p, t, h],
    ]

    return move_list
Esempio n. 12
0
def surprised():
    '''
    Returns a list of movements corresponding to the "surprised" emotion.
    '''
    p1 = Point(4.5, 8.5)
    t1 = Point(10, 1)
    t2 = Point(45, 2)
    h1 = (45, 45, 1)
    h2 = (50, 70, 5)

    move_list = [
        [p1, p1, p1, p1, t1, h1],
        [p1, p1, p1, p1, t2, h2],
        [p1, p1, p1, p1, t2, h2],
        [p1, p1, p1, p1, t2, h2],
        [p1, p1, p1, p1, t2, h2],
        [p1, p1, p1, p1, t1, h1],
        [p, p, p, p, t, h],
    ]

    return move_list
Esempio n. 13
0
def angry():
    '''
    Returns a list of movements corresponding to the "angry" emotion.
    '''
    p1 = Point(8, 6)
    p2 = Point(1, 6)
    t1 = Point(10, 2)
    t2 = Point(80, 2)
    h1 = (45, 45, 1)
    h2 = (80, 60, 1)

    move_list = [
        [p1, p1, p1, p1, t1, h1],
        [p1, p2, p1, p1, t2, h2],
        [p1, p2, p1, p1, t1, h2],
        [p1, p2, p1, p1, t2, h2],
        [p1, p2, p1, p1, t1, h1],
        [p, p, p, p, t, h],
    ]

    return move_list
Esempio n. 14
0
def disgusted():
    '''
    Returns a list of movements corresponding to the "disgusted" emotion.
    '''
    p1 = Point(4.5, 8.5)
    p2 = Point(2, 7)
    t1 = Point(10, 1)
    h1 = (44, 44, 1)
    h2 = (70, 62, 4)
    h3 = (70, 30, 4)

    move_list = [
        [p1, p1, p1, p1, t1, h1],
        [p2, p2, p2, p2, t1, h1],
        [p2, p2, p2, p2, t1, h2],
        [p2, p2, p2, p2, t1, h3],
        [p2, p2, p2, p2, t1, h2],
        [p2, p2, p2, p2, t1, h3],
        [p1, p1, p1, p1, t1, h1],
        [p, p, p, p, t, h],
    ]

    return move_list
Esempio n. 15
0
'''
A set of functions that provide a set of movements corresponding to 
seven emotions. 
'''

from utils.Point import Point

p = Point(1, 5)
t = Point(10, 1)
h = (45, 45, 1)


def angry():
    '''
    Returns a list of movements corresponding to the "angry" emotion.
    '''
    p1 = Point(8, 6)
    p2 = Point(1, 6)
    t1 = Point(10, 2)
    t2 = Point(80, 2)
    h1 = (45, 45, 1)
    h2 = (80, 60, 1)

    move_list = [
        [p1, p1, p1, p1, t1, h1],
        [p1, p2, p1, p1, t2, h2],
        [p1, p2, p1, p1, t1, h2],
        [p1, p2, p1, p1, t2, h2],
        [p1, p2, p1, p1, t1, h1],
        [p, p, p, p, t, h],
    ]