TV

The four TVs

Each of the four "TVs" has its own MyCanvas for its screen. They act independently.

Pressing any key anywhere on the page will freeze the 1st screen (uses the p5js keyIsPressed). Pressing any key when the mouse is on the second screen will freeze it (uses screen[1].keyIsPressed) but observe that this also freezes the first screen. When working with 3rd TV, there will be some delay in processing mouse actions because the screen is only updated every half second.

When you drag images onto the 4th TV screen, their thumb nails will be displayed in a tray below the TV's. Clicking on the thumb nail will display it on that screen.

The p5.js file: TV.pjs

James Brink, 5/12/2020