GithubHelp home page GithubHelp logo

rfuehrer / jquery-drawr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from avokicchi/jquery-drawr

0.0 1.0 0.0 6.52 MB

JQuery dRawr is a jquery plugin to turn any canvas element into a drawing area with a lot of useful tools and brushes.

License: MIT License

JavaScript 100.00%

jquery-drawr's Introduction

jquery-drawr

JQuery dRawr is a jquery plugin to turn any canvas element into a drawing area with a lot of useful tools and brushes.

Screenshot:

screenshot of canvas

Usage:

<div style="width:350px;height:300px;" class="some-container">
	<canvas id="canvas"></canvas>
</div>
$("#canvas").drawr({ "enable_tranparency" : true, "canvas_width" : 800, "canvas_height" : 800 });
$("#canvas").drawr("start");

Features

  1. Drawing area
  2. Extendable brush system
  3. Custom buttons
  4. Loading and saving images
  5. Excellent mobile support
  6. Basic pen pressure support for Samsung and Apple devices
  7. Text insertion
  8. Undo
  9. Ignores unintended touches

Methods

  1. start
  2. stop
  3. load
  4. export
  5. button
  6. destroy
  7. clear

Options

  1. enable_tranparency
  2. canvas_width
  3. canvas_height
  4. undo_max_levels(5)
  5. color_mode("presets","picker")
  6. clear_on_init

demos and docs at this link

jquery-drawr's People

Contributors

avokicchi avatar dependabot[bot] avatar

Watchers

 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.