I am trying to create a meme generator similar to imgflip.com
I know javascript but not sure how to implement this.
I want users to be able to move text around the canvas using mousemove event listener.
But I am not sure if they are moving the text on the canvas or are they creating an overlay div then transform the dimension's to canvas?
FarrisFahad
86
Junior Poster
Premium Member
Recommended Answers
Jump to PostCreating a meme generator sounds like a fun project! To allow users to move text around the canvas using the mousemove event, you'll want to directly manipulate the text within the canvas rather than using an overlay div.
See Example:const canvas = document.getElementById('yourCanvasId'); const ctx = …
All 3 Replies
rproffitt
2,565
"Nothing to see here."
Moderator
jessicaboland
10
Newbie Poster
FarrisFahad
commented:
Thank you very much :)
+10
kimnancy
0
Newbie Poster
Banned
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.