Make Your Own Paint Editor
In this tutorial you will create a paint editor in GP.
GP is a new blocks-based language similar to Scratch. The name “GP” stands for “general purpose” because, like Python, Java, and C++, GP can be used for a wide range of programming tasks.
Once your paint editor is working (which won’t take long!), you can enhance it. Add a button to clear the screen, click to fill an area with a random color, snapshot your drawing so you can export it – those are just a few of the nifty features you can add.
Watch this one-minute video to learn how to get started:
Print this two-page guide or open it in another browser tab:
Start GP by clicking the link below and start building!
NOTE: GP does not save your program in the cloud automatically. Be sure to save your work as you go by clicking the “Save” button. That will download your program to your computer so you can come back to it later.
Save your GP program, if you haven’t already done so. It will be saved in your browser’s “download” folder as a file ending in “.gpp”. To return to it later, start GP using the link above, then drag and drop your program onto the GP browser window to load it.
Visit the Hour of Code website to claim your certificate:
Get Your Certificate
If you like GP and have a Windows, Macintosh, or Linux computer, you may wish to download the stand-alone GP application, which offers better performance and makes it easier to save and open GP project files:
If you enjoyed this tutorial, you might enjoy some of the other GP tutorials: