Git Product home page Git Product logo

Comments (10)

muaz-khan avatar muaz-khan commented on June 30, 2024

Please check YouTube video: https://www.youtube.com/watch?v=pvAj5l_v3cM

Here is the pencil-handler.js:

For more info: https://www.webrtc-experiment.com/Canvas-Designer/Help/#contribute

from canvas-designer.

NgocAnPham avatar NgocAnPham commented on June 30, 2024

how i can change your icon images by mine image? your icon look so basic :))

from canvas-designer.

hpsaini4u avatar hpsaini4u commented on June 30, 2024

hi have you managed to customize the icons @NgocAnPham

from canvas-designer.

sanpangzi avatar sanpangzi commented on June 30, 2024

Please fix widget.min.js,as follow:
function decoratePencil() {//铅笔 var context = getContext("pencil-icon"), image = new Image; image.onload = function() { context.drawImage(image, 0, 0, 40, 40), bindEvent(context, "Pencil") }, image.src = "/static/img/pencil.png"; }

_20171218112540

from canvas-designer.

supdpk-zz avatar supdpk-zz commented on June 30, 2024

How can we use font-awesome to replace icons?

from canvas-designer.

ph4t0o0o0om avatar ph4t0o0o0om commented on June 30, 2024

Can anyone here change the ICON of this canvas? Please help

from canvas-designer.

LucasHimelfarb avatar LucasHimelfarb commented on June 30, 2024

have you managed to customize the icons @ph4t0o0o0om ?????

from canvas-designer.

muaz-khan avatar muaz-khan commented on June 30, 2024

@LucasHimelfarb its here:

from canvas-designer.

LucasHimelfarb avatar LucasHimelfarb commented on June 30, 2024

from canvas-designer.

muaz-khan avatar muaz-khan commented on June 30, 2024

@LucasHimelfarb You can open following URL on your mobile device and it will/should work:

Default demo doesn't works because this project is currently using iframes. IFrames doesn't seems to listen for touch events correctly.

Need to directly inject HTML on target websites. It will fix touch issues. It is in my todo list and I'm planning to work on it soon.

Regarding two-peer-draw-at-same-time, it is gonna be tricky to fix it. Nee to use object i.e. {key:value} rather than arrays where key is a unique identifier of the drawing same contains all required information draw shape on valid order. It will fix all sycing issues. Need to work on it as well, however lets fix mobile touch issues first.

Regarding responsive canvas, injecting HTML on target website will fix this issue as well. We need to move away from iframes.

from canvas-designer.

Related Issues (20)

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.