Dancing Lines with mBlocks


#1

Hello Everyone,

I started out trying to get mBlocks to run a screen saver on the TFT, but I could not get the Lists to work. Anyway, I was still able to get the dancing lines to mostly work on the Stage. It does not completely clear the lines as hoped, but it does leave some interesting patterns. If anyone can figure out how to completely erase just the old lines, please post your solution.

Here is the mBlock code DancingLines.sb2 (419.0 KB) and here is the original Dancing Lines for TFT in Arduino TFT LCD Screen Saver - Dancing Lines.

Hope you like it.

Mike


#2

Don’t have the hardware to check, but the easiest (if not prettiest) answer is to redraw the line in the background color. I’ll see if I can tinker on this over the weekend.