Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 1.3 KB

README.md

File metadata and controls

11 lines (6 loc) · 1.3 KB

Turtle-Etch-A-Sketch.livecode

Rachel's Etch A Sketch is a tribute to the classic Etch A Sketch™, which is a registered trademark of Ohio Art Inc.

This is a LiveCode application created for my granddaughter for her to enjoy. I tried to duplication the functions of the original toy digitally and added color and ability to change the size of the lines being drawn. The erase button simulates the shaking of the Etch A Sketch to erase your drawing.

LiveCode is a compile free language so you can run and edit your application live, allowing you to add code gradually, and develop iteratively, testing as you go, with no compile time or delay. ... That means you can build any application you create to run on Windows, Mac OS, Linux, iOS, Android or a server. https://livecode.com or http://livecode.org/ for open source version

The application has two modes meaning that you can draw with either the mouse or the arrow keys. As you change directions using the arrow keys the cursor which is a turtle will change its direction. Both mouse movements and arrow key presses will cause the knobs to rotate in sync with the direction of movement.

The code is documented as a sample of how you could trap mouse and arrow key movements to control a pen that draws on a restricted portion of the screen (boarders of the gray screen).