Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pengfeiw/react-paint

windows 画板 —— Microsoft Paint
https://github.com/pengfeiw/react-paint

canvas paint react reactjs typescript

Last synced: 26 days ago
JSON representation

windows 画板 —— Microsoft Paint

Awesome Lists containing this project

README

        

# React Paint

[中文说明](./README_CN.md)

**Microsoft Paint** realized with reactjs.

online: [https://pengfeiw.github.io/minicode/react-paint](https://pengfeiw.github.io/minicode/react-paint)

![Microsoft Paint](https://cdn.jsdelivr.net/gh/pengfeiw/[email protected]/image/69.png)

## 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](http://localhost:3000)

### Technique

- TypeScript
- React
- Material-UI
- 2D drawing with [canvas](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API)

### Has issue?

If you run into any problems, you can leave a message in [<>](http://pengfeixc.com/blog/60d073bce97367196dce3efc) or commit an [issue](https://github.com/pengfeiw/react-paint/issues).

More fun and interesting things, visit [minicode](https://pengfeiw.github.io/minicode).