Skip to content

an-pau/canvas

Repository files navigation

canvas

A drawing tool πŸ–‹οΈ

canvas-screenshot1

features

  • Change brush color and size
  • Undo and redo (up to 25 brush strokes are stored in history)
  • Clear image
  • Download image

changelog

TBA

todo

  • Research p5.js library
  • Brush colors
  • Text
  • Shapes
  • Lines: straight, step, bezier, arrow
  • Add stamps
  • Backgrounds

developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

building

To create a production version of your app:

npm run build