Coder Social home page Coder Social logo

etch-a-sketch's Introduction

Etch-a-Sketch Project

Welcome to the Etch-a-Sketch project! This project is a browser-based sketchpad inspired by the classic Etch-a-Sketch toy. It allows you to draw on a grid by hovering over cells, and you can customize the grid size and colors.

Features

  • 16x16 Grid: A default grid of 16x16 squares.
  • Dynamic Grid Size: Change the grid size up to 100x100 squares.
  • Hover Effect: Draw by hovering over the grid cells.
  • Color Customization: Change the color of the drawing.
  • Reset Grid: Clear the grid and start over.
  • Random Colors: Option to draw with random colors.
  • Progressive Darkening: Each interaction darkens the square by 10%.

How to Use

  1. Open the Project: Click (https://stacyaceit.github.io/etch-a-sketch/)
  2. Draw: Hover over the grid cells to draw.
  3. Change Grid Size: Click the "Change Grid Size" button and enter the desired number of squares per side (up to 100).
  4. Reset Grid: Click the "Reset Grid" button to clear the grid.
  5. Generate random colors: Click the "Paint Party" button to randomize colors when hovering over a grid cell
  6. Darken image color: Click the "Twilight Mixer" button to darken the grid cell each time by 10% until the cell turns black after 10 interactions.

Installation

  1. Clone the repository:
    git clone https://github.com/StacyAceIt/etch-a-sketch.git

etch-a-sketch's People

Contributors

stacyaceit avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.