0

js mousemove and write text

I want to write specific text while moving the mouse. I need your advice Which functions do I need?

2nd Sep 2020, 5:49 PM
kokito
5 odpowiedzi
+ 2
kokito please write your code here in sololearn playground and post a link to it.
3rd Sep 2020, 9:47 AM
HBhZ_C
HBhZ_C - avatar
+ 1
Using mousemove you can only draw lines and then write using draw canvas .Google for canvas in html and how to set event listener for mouse moves on it to draw lines.
2nd Sep 2020, 9:06 PM
HBhZ_C
HBhZ_C - avatar
+ 1
You have to understand first canvas and 2d context .You will use addEventListener()
2nd Sep 2020, 10:21 PM
HBhZ_C
HBhZ_C - avatar
0
HBhZ_C which function on event i need?
2nd Sep 2020, 10:00 PM
kokito
0
HBhZ_C https://ibb.co/16hT2RX this is example. when i move mouse write text. example "hello world"
2nd Sep 2020, 10:37 PM
kokito