Skip to content

pengfeiw/react-paint

Repository files navigation

React Paint

中文说明

Microsoft Paint realized with reactjs.

online: https://pengfeiw.github.io/minicode/react-paint

Microsoft Paint

Feature

Support mouse and touch screen, so you can use it with IPad.

  • pen
  • eraser
  • fill
  • change color
  • change linewidth
  • many shapes
  • two linestyle: solid and dot
  • redo and undo
  • extract color

Run in local

  • clone repository: git clone https://github.com/pengfeiw/react-paint.git
  • install package: npm install
  • start server: npm run start
  • open in browser:http://localhost:3000

Technique

  • TypeScript
  • React
  • Material-UI
  • 2D drawing with canvas

Has issue?

If you run into any problems, you can leave a message in <<react实现简易画板程序>> or commit an issue.

More fun and interesting things, visit minicode.