Coder Social home page Coder Social logo

jaysontatum87 / drawingboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vipstone/drawingboard

0.0 0.0 0.0 5.99 MB

高级画板—自由绘、直/虚线、箭头、所有几何图形

Home Page: https://vipstone.github.io/drawingboard/drawingboard/index.html

JavaScript 100.00%

drawingboard's Introduction

简介

基于canvas的高级画板程序.

在线演示

高级画板:https://vipstone.github.io/drawingboard/drawingboard/index.html

作业批改:https://vipstone.github.io/drawingboard/drawingboard/check.html

功能

  • 全局绘制颜色选择
  • 护眼模式、网格模式切换
  • 自由绘制
  • 画箭头
  • 画直线
  • 画虚线
  • 画圆/椭圆/矩形/直角三角形/普通三角形/等边三角形
  • 文字输入
  • 图片展示及相关移动、缩放等操作
  • 删除功能
  • 支持画板同比缩放
  • 支持图形即时显示

高级功能


按Shift键,画垂直、水平直线;
按Shift键,椭圆和正圆自由切换;
按Shift键,等腰三角形和等边自由切换;
按Shift键,等边直角三角形和直角三角形自由切换;
按Shift键,正方形和长方形自由切换;

附fabric.js使用笔记:点击打开

功能预览



各位大侠如果觉得不错,欢迎点击star!

todo

mac下样式问题兼容

添加撤销功能

drawingboard's People

Contributors

vipstone 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.