1 - Overview
This is a simple widget inspired by a drawing pad (see this example). Thanks to this widget, you can draw in a box whatever you want (for instance a signature). The coordinates of the points of the trajectory is synchronised with the Python kernel.
You'll find some additional functionalities :
Savebutton with a text field in order to save your signature along with your name
Clearbutton to clear what is drawn in the box
Loginbutton : by entering your name (after having saved a signature for this name) and drawing your signature, a message
Welcome (name)should appear (if the signature is close enough to the saved one)
When you try to login, the comparison between the signature to the registered one takes into account not only the spatial coordinates but also time.
To get a feel of the result check out the demo notebook.
This simple widget may serve as a template for intermediate users who feel the (huge) potential of this library, want to build one, but cannot find examples relevant to their level i.e. past absolute beginner.
For more info about jupyter widgets (installation process, packaging and publishing), see this tutorial repo. All what's written there is also true for this package, just changing the name
2 - Installation
$ pip install jupyter_drawing_pad