Code Monkey home page Code Monkey logo

mypainter's Introduction

mypainter

progress wechat tech

技术

  • canvas
  • WebSocket
  • express
  • socket.io
  • Buffer
  • pixel manipulation

版本

项目成长迭代

  • 线上交互画板功能

  • 用canvas实现画板界面

    • 提高服务器吞吐性能
  • 添加取色功能

  • png格式保存减少传输数据量

  • 采用二进制数据存储分发图片

  • 增加取色指针工具的样式

  • 增加指针样式,即时显示取色指针颜色
  • 变更颜色选择的样式
  • 增加放大和拖动功能

    • 鼠标指针指哪儿大哪儿(地图放大原理,不动点)
  • 用相对位置修正误差

    • 鼠标相对于视口的位置 - 元素相对于视口的位置)/ 缩放系数
  • 增加在线人数功能

    • 向每个在线用户广播
  • 增加坐标指示优化界面样式

  • 移动端交互上线

线上版本

  • v0.1
    • 部署到https://pxl.boolebook.com
  • V0.2
    • 实现移动端交互

效果展示

PC端

Imgur

移动端

Imgur

使用

  1. 安装依赖

    npm install

  2. 服务器运行

    pm2 start --name=xxx app.js

  3. 访问mypainter

个人信息

bairuobing2013

WCPPboolebook

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.