/**
- Animation blocks
 
*/
//% weight=100 color=#27a186 icon=“
”
namespace animation {
/**
 * Run The Flashing Heart Code
 */
//% blockId=animationflashingheart
//% block="Flashing Heart"
 export function flashingHeart(): void {
    basic.showLeds(`
    . # . # .
    # # # # #
    # # # # #
    . # # # .
    . . # . .
    `)
    basic.showLeds(`
    . . . . .
    . . . . .
    . . . . .
    . . . . .
    . . . . .
    `)
}
}
namespace animation {
/**
 * Animate Nyan Cat
 */
//% blockId=animationnyancat
//% block="Nyan Cat"
export function nyanCat(): void {
    basic.showLeds(`
    . . . # .
    . . . # #
    # # # # #
    # # # # .
    . # . # .
    `)
    basic.showLeds(`
    . . . # .
    . . . # #
    . # # # #
    # # # # .
    # # . # .
    `)
}
}
namespace animation {
/**
 * Show 3 Faces
 */
//% blockId=animationsmileys
//% block="Faces"
export function faces(): void{
    basic.showLeds(`
    . . . . .
    . # . # .
    . . . . .
    # . . . #
    . # # # .
    `)
    basic.showLeds(`
    . . . . .
    . # . # .
    . . . . .
    . # # # .
    . . . . .
    `)
    basic.showLeds(`
    . . . . .
    . # . # .
    . . . . .
    . # # # .
    # . . . #
    `)
}
}
namespace animation {
/**
 * Animate Diamonds
 */
//% blockId=animationdiamonds
//% block="Diamonds"
export function diamonds(): void{
    basic.showLeds(`
    . . # . .
    . # # # .
    # # # # #
    . # # # .
    . . # . .
    `)
    basic.showLeds(`
    . . . . .
    . . # . .
    . # # # .
    . . # . .
    . . . . .
    `)
}
}