Anki add-on: AnkiDraw - Draw and write using mouse and stylus with pressure support

Initially based on the Anki-TouchScreen addon, updated ui and added pressure pen/stylus capabilities, perfect freehand(line smoothing) and calligrapher functionality. If this addon was useful, please leave a star at the top right of the GitHub page Website to test the drawing functionality: https://rytisgit.github.io/Anki-StylusDraw/ Changes Added Multiple Colour selection Added Zen mode(menu toggle to hide toolbar completely but allow drawing, until it is canceled) Added option to change the background color of the canvas, change the alpha channel in color selection to add transparency. Added follow screen mode(menu option) and small canvas mode(alt + b) to increase drawing speed on very big cards Added toolbar location configuration and other small fixes. Fixed "resize not defined" error. Thanks huandney. Updated UI, add option to convert dots, hide cursor and ui while drawing. Thanks rin-w Added Perfect Freehand mode(https://github.com/steveruizok/perfect-freehand) Added Calligrapher mode(https://github.com/atomanyih/Calligrapher) Added pressure sensitivity Increased drawing speed Added , for showing/hiding, . for clearing, alt + c for calligrapher mode and alt + x for perfect freehand mode Added standalone website to test drawing Work around a Windows Pen bug which makes 2 primary pointers appear when drawing in Anki Hardware Tested to work with a Huion H1161, Windows Pen enabled. For best experience: don't use software rendering(enable hardware acceleration) turn on use pen as a mouse with Windows Pen if drawing is slow on big cards turn on follow mode or small canvas https://docs.ankiweb.net/platform/windows/display-issues.html Run echo auto > %APPDATA%\Anki2\gldriver6 in windows cmd for Qt6: Or echo auto > ~/.local/share/Anki2/gldriver6 in linux for Qt6: Change rendering in settings for Qt5: Turn On Follow when scrolling or small canvas if drawing is slow on very big cards: For developers You are more than welcome to contribute! While I may not be able to support every user of this addon, I will do my best to help any developer willing to open PR implementing new features or fixing bugs.

GitHub repository: rytisgit/anki-stylusdraw
Repository description: Draw and write using mouse and stylus with pressure support in Anki
Languages: Python, JavaScript, HTML
Topics: anki, anki-addon, calligraphy, drawing, drawingboard, javascript, pressure, pressure-sensing, python, stylus