Animation

Sinking Boat

When we are developing a program we need to start thinking about individual algorithms - or a series of steps that work together to accomplish one task. To do that we are going to program the LED's to show a sinking boat.

Think about each page of the book. Each page was its own unique still drawing, but when they were combined they told a story.

Each stage of our sinking boat is like a page of the book - it will need its own code an

d we will combine them to make an animated sinking boat

To do that we need to create a function

Under Advanced - Click on Functions and then Make a New function

Title your new function Boat1 and hit done

Now on your scripts page, you should see a place to add code to this function

Last updated