Exemple #1
0
def diagonal_ripple_3():
    """
    Gets 12 rainbows and sends them to the ripple diagonally function
    """

    rainbow00 = get_horizontal_rainbow_00()

    rainbow01, rainbow02, rainbow03, rainbow04, rainbow05, rainbow06, \
        rainbow07, rainbow08, rainbow09, rainbow10, \
        rainbow11 = get_diagonal_ripple_rainbows_2()

    diagonal_rainbows_3 = [rainbow01, rainbow02, rainbow03, rainbow04,
                           rainbow05, rainbow06, rainbow07, rainbow08,
                           rainbow09, rainbow10, rainbow11]

    ripple_diagonally(rainbow00, diagonal_rainbows_3)
Exemple #2
0
def diagonal_ripple_2():
    """
    Gets 12 rainbows, but assigns them in reverse order, and sends them
    to the ripple diagonally function
    """

    rainbow00 = get_horizontal_rainbow_00()

    rainbow11, rainbow10, rainbow09, rainbow08, rainbow07, rainbow06, \
        rainbow05, rainbow04, rainbow03, rainbow02, \
        rainbow01 = get_diagonal_ripple_rainbows_1()

    diagonal_rainbows_2 = [rainbow01, rainbow02, rainbow03, rainbow04,
                           rainbow05, rainbow06, rainbow07, rainbow08,
                           rainbow09, rainbow10, rainbow11]

    ripple_diagonally(rainbow00, diagonal_rainbows_2)