Git Product home page Git Product logo

Comments (5)

F2X avatar F2X commented on August 17, 2024

We choose to push the use of the text and math web components for now.

If you want an example of superimposed configuration, using myscript-text-web, you can find one here: http://webdemo.myscript.com/views/contacts.html.
And our webdemos are based on webcomponents, so you can look at their source code for more implementation examples.

from myscriptjs.

aknoerig avatar aknoerig commented on August 17, 2024

Thanks, I understand your focus is on the webcomponent solution now.
Please make sure that your documentation clearly reflects this, though. ;) At the moment, the situation around MyScriptJS is very confusing, with multiple documentation places, each with different versions and slightly different functionalities.

I'm looking for more of a barebones version because I assume it allows for deeper customization. In my case, for instance, I would like to replace the default touch input with a ws stream coming from an external input device.

from myscriptjs.

F2X avatar F2X commented on August 17, 2024

Thanks for your feedback about the doc, we will improve it ;-)
The aim of the web components is to ease ink capture and rendering from a web page.
If you are just interested by the recognition part, without rendering, you will be probably more interested by the cloud API.
It will allow you to send your input stream directly to the web service and retrieve the raw result: http://doc.myscript.com/MyScriptCloud/3.1.0/myscript-cloud/protocols.html.
Let me now if you need more help on this part.

from myscriptjs.

aknoerig avatar aknoerig commented on August 17, 2024

Thanks, that's indeed also an option. But since MyScriptJS is basically the library for this API – and really well written ;) – I want to make use of that instead of reinventing the wheel.

I got it to work now by directly accessing the private _up/_down/_move functions. Not clean, but working fine.

from myscriptjs.

padewitte avatar padewitte commented on August 17, 2024

With the 4.0.0 version a significant list of examples have been add to the project. You can browse them online or in the project

Regarding the need of grabbing event externaly and the use the lib, pointerDown(...),  pointerMove(...) and pointerUp(...) are now public and may ease the integration like yours. The coumentation is online

from myscriptjs.

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.