Skip to main content
100%

Etch-A-Sketch

✓ Published0🌍 Public
NNicholas Smith
Last edited Sep 25, 2019
Created on Sep 24, 2019
Forked from Untitled

An interactive drawing application that recreates the classic Etch-A-Sketch toy in the browser. Users navigate a drawing cursor with arrow keys or WASD controls, while additional keyboard shortcuts adjust line thickness, cycle through six draw colors, and toggle drawing on and off. The application renders an SVG line path using React state management, with the drawing path constructed incrementally as the cursor moves across a 960 by 500 pixel canvas.

AI-generated description

A program that reflects an Etch-A-Sketch.

<b>Instructions:</b> <br />Buttons have to be pressed. Held down buttons only does one action. <br /><b>w or up arrow</b> = moves up <br /><b>a or left arrow</b> = move left <br /><b>s or down arrow</b> = moves down <br /><b>d or right arrow</b> = moves right <br /><b>+</b> = increase line size <br /><b>-</b> = decrease line size <br /><b>c</b> = changes draw color <br /><b>spacebar</b> = toggles draw, hit the spacebar again to stop drawing.

Have fun creating your own visualizations

MIT Licensed

Similar vizzes