< Back

Lab 19: Images

For all of our activities, make sure your practice with the new blocks today. Some of the activities you can complete without using the new blocks. They do save some time and headaches. Open up the Practice Area, and take a crack at the following activities.


Activity 1: Photo Negative

Create a blockly program which allows the user to load an image. It your program should go through and inverts all the colors in the image. In order to invert a color, you need to modify each color value of every pixel to the inverse (subtract its value from 255).

Before

After