I have a existing system that take input from a pen and creates an image of text on a canvas. I was wondering if there is a way to implement MyScriptJS using a canvas rather than a div?
Waiting for your response.
May i ask you what you want achieve with the use of MyScriptJS ?
Indeed, MyScript technology already let you take input from a pen and interpret the result in a way you can exploit and interact with.
I have Device which connects via bluetooth and the SDK from the Pen let's me draw only on canvas component.
I tried to get it to work with the examples but was not working. it would be really great if there is a way to implement MyScript on a canvas rather than using a div.
Can you send me the part of your code you struggke with ?
This way i can investigate further.
Sorry can't do that just let me know can we implement MyScript in a canvas and if yes then please let me know would be really great if there is a way to use canvas.
Indeed, you can't just register a canvas instead of a div because MyScriptJS creates a canvas into the div element.
One solution is you can look and tune the MyScriptJS library to fit your needs.
Cool Thanks Maël