HOME > SNAPCODE > GALLERY > PEN GRAPHICS

SnapCode Pen Graphics Demo

 

SnapCode is a new educational IDE for graphically constructing code by drag and drop of code building blocks. This demo shows:

  • Creating a SnapCode project
  • Creating a new SnapConsole
  • Adding code blocks to the main() method to print a message and change background color
  • Creating a new pen and drawing a line
  • Creating a for-loop and drawing lines in the loop
 

More: Custom Backgrounds.