Thursday, February 11, 2016

Lesson 67: MORE DISPLAY (Part 3: Simple Animations)

Animation example, rising water level.
LEGO has lots of images at
Display block > Images > Progressions > images saved by LEGO > select water level 0
So add a PLAY block, connect a DISPLAY block picking first water level 0
Add a WAIT block, make it wait, say, half second
Repeat above a 3 times selecting in sequence, selecting water level 1, then 2 then 3

First step:

Second step: add WAIT block
As explained in earlier lesson, in order for the "water level 0" picture to be visible to human eye, we need to add a WAIT block and set it to wait, say, half second, before cleaning up

Third step: Repeat 3 times

When downloaded to EV3 brick and played, water level 0, then 1, then 2, then 3 display 0.5 second each consecutively, giving the illusion of water rising (animated).

For more detailed explanation, visit Prof. Jennifer's webpage at MORE DISPLAY (Part 3: Simple Animations)

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...