Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: jQuery + Canvas

  1. #1
    New to the CF scene
    Join Date
    May 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    jQuery + Canvas

    Hello I am creating a website that lets the user move around hand-drawn letters for them to spell out what they wish. Afterwards I want them to have the functionality of saving their word/phrase to an image. I've searched the internet on how to do this and people are saying the best way to do this is by using the <canvas> element and have the canvas element be exported to an image file.

    What I want to know if my jQuery built website will interact with the canvas tag.
    To further elaborate...
    All the functionality of the letters such as drag and resize are done with jQuery UI.
    If I were to drag those letters on top of the <canvas> and then use canvas>img feature, will the letters register and save?
    Or would I have to generate the letters inside canvas directly and use canvas' drag and resize functionality for it to save??

    Hope my question makes sense.
    Thanks in advance.

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,097
    Thanks
    23
    Thanked 594 Times in 593 Posts
    Evolution - The non-random survival of random variants.

    "If you leave hydrogen alone, for long enough, it begins to think about itself."


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •