Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Pratik Singh built @penwell/draw-on to make SVG diagrams appear as if they draw themselves: strokes animate first, followed by fills and labels. Extracted from his Penwell project and released as a standalone, MIT-licensed npm package, it adds manual progress control, React helpers, and browser-based WebM recording. It is an early-stage library, not the Penwell application or a hosted service.

Why Singh extracted the library

“I wanted SVG diagrams to draw themselves,” Singh wrote in his announcement. He started with Vivus for animating strokes, then ran into a broader need: his diagrams also contained fills, text, and other elements that should appear after the lines. He wanted control over the sequence and the ability to export the result as video.

The resulting code became useful enough in Penwell to extract as @penwell/draw-on. It is a separate library that can be installed from npm, rather than a feature that requires Penwell.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What @penwell/draw-on does

The package’s documented sequence is to animate SVG strokes, then reveal fills and labels. You can play the animation or set its progress directly, which makes it possible to scrub through it or coordinate it with another timeline. The package provides a framework-agnostic JavaScript/TypeScript core as well as a React hook and component.

#1 Best Overall
Wacom Intuos Small, Wired Graphic Drawing Tablet with Pen + Software
  • Wacom Intuos Small Graphics Drawing Tablet: Enjoy industry leading tablet performance in superior control and precision with Wacom's EMR, battery free technology that feels like pen on paper
  • Works With All Software: Wacom Intuos tablet can be used in any software program to explore new facets of digital creativity; draw, paint, edit photos/videos, create designs, and mark up documents
  • What the Professionals Use: Wacom's industry leading pen technology and pen to paper feeling makes it the preferred drawing tablet of professional graphic designers
  • Software and Training Included: Only Wacom gives you software with every purchase. Register your Intuos tablet and gain access to some of the best creative software and Wacom's online training
  • Wacom is the Global Leader in Drawing Tablet and Displays: For over 40 years in pen display and tablet market, you can trust that Wacom to help you bring your vision, ideas and creativity to life

Its README documents APIs including createDrawing, parseSvg, computeDims, setProgress, and recordDrawToWebM. It also describes workflows involving SVGs from Mermaid, Excalidraw, tldraw, Figma exports, and handwriting. Those are documented target workflows, not independent confirmation that every SVG from those tools works without adjustment.

How it differs from the initial Vivus approach

Singh describes Vivus as his starting point for stroke animation, then explains that his project called for more than drawing lines. The distinctions below reflect the package documentation and the author’s stated motivation; they are not results of a comparative benchmark.

Rank #2
Sale
XPPen Deco 01 V3 10x6 Drawing Tablet, 16K Battery-Free Stylus, 8 Keys
  • Word-first 16K Pressure Levels: The upgraded stylus features 16,384 levels of pressure sensitivity and supports up to 60 degrees of tilt, delivering smoother lines and shading for a natural drawing experience. With no battery or charging needed, it operates like a real pen, making it easy for beginners to create effortlessly. This functionality helps novice artists develop their skills and explore their creativity without the intimidation of complex tools
  • Designed for Beginners: This drawing pad desinged with 8 customizable shortcuts for both right and left-hand users, express keys create a highly ergonomic and convenient work platform
  • Perfectly Adapted for Android: The XPPen Deco 01 V3 art tablet supports connections with Android devices running version 10.0 and above. It is recommended to download the XPPen Tools Android application, which adapts to your smartphone's screen aspect ratio, ensuring accurate mapping. It also supports mapping on Android screens with different aspect ratios in portrait mode
  • Large Drawing Space, Bigger Bold Inspiration: This expansive drawing pad has10 x 6.25-inch helps you break through the limit between shortcut keys and drawing area
  • Easy Connectivity for Beginners: The Deco 01 V3 offers USB-C to USB-C connectivity, plus adapters for USB C. This ensures easy connection to various devices, allowing beginner artists to set up quickly and focus on their creativity without compatibility concerns. Whether using a laptop, tablet, or desktop, the Deco 01 V3 provides a seamless experience, making it an ideal choice for those just starting their digital art journey
Need Initial Vivus use described by Singh @penwell/draw-on documentation
What appears Stroke animation Strokes, followed by fills and labels
Timing control Not stated in the announcement as a reason for choosing Vivus Playback and direct progress setting for scrubbing or timeline coordination
Video export Not stated in the announcement as a reason for choosing Vivus Browser recording to WebM
Framework options Not stated in the announcement Framework-agnostic JavaScript/TypeScript core plus React integration

Installation and practical considerations

The README’s installation command is:

npm install @penwell/draw-on

Check the npm package page and README for current package details and examples. The README says the core mutates the SVG in place because Vivus rewrites shapes into paths. If your application needs to preserve the untouched SVG, pass a clone rather than the original element.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recording depends on browser APIs

WebM recording relies on browser support for MediaRecorder and canvas.captureStream(). The documentation describes Chromium-based browsers as the most reliable option in practice and recommends checking canRecordVideo() before offering recording. It does not provide MP4 output because MediaRecorder’s MP4 support is inconsistent across browsers.

Rank #3
Sale
HUION Inspiroy H1060P Graphics Drawing Tablet, 10 x 6.25 in, 12+16 Hot Keys
  • Working Area Configuration - HUION art tablet equips with a 10 x 6.25 inches working area, providing the user with the most comfortable size to work; the 10mm slim structure and minimalist design of appearance make the drawing tablet more attractive.
  • Tilt Function Battery-free Stylus: This computer graphics tablet come with a battery-free stylus PW100, no need to charge, allowing for constant uninterrupted drawing. ±60° tilt support enables imitation of lines input with diverse drawing gestures, with accuracy ensured.
  • Press Keys:12 programmable press keys plus 16 programmable soft keys, you can set shortcut keys on drawing tablet's driver based on your preferences, such as erase, zoom in/out, scroll up and down, and so on.
  • Compatibility: HUION graphics tablet supports Windows 7 or later/ macOS 10.12 or later/ Android 6.0 or later/ Linux (Ubuntu). A USB adapter is required to connect to a Mac computer. H1060P supports various mainstream design and drawing software, including PS, SAI, AI, CDR, etc. (Please note: The H1060P is compatible with Ubuntu, but it requires the use of the Xorg display server. Wayland is not supported.)
  • NOTE: You can easily connect your phone to the art tablet via the OTG connector; while iPhone and iPad are NOT at the moment. The cursor will not show up in the SAMSUNG Galaxy S series at present. If you are not sure whether the product is compatible with your Phone or any help, please contact us.

External styles and fonts can affect the recorded result

An SVG that depends on external stylesheets or fonts may not rasterize correctly for recording. The package documentation recommends inlining those styles and fonts where possible. This caveat concerns recording; it does not establish that every such SVG will fail during ordinary on-page animation.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What is established—and what remains open

The project is presented as an open-source library under the MIT license, with installation through npm. Singh also says edge cases remain and invites people to try SVGs he has not encountered. That makes it reasonable to evaluate the package against your own diagrams, but the announcement and README do not establish production reliability across a broad range of SVGs or browsers.

Rank #4
Sale
XPPen Artist 13.3 Pro V2 Drawing Tablet with Screen, 16K, Full-Laminated
  • PLEASE NOTE:XPPen Artist13.3 Pro drawing tablet Need to connect with computer,you need to use it with your computer or laptop, the 3 in 1 cable is included
  • Drawing Tablet with Screen: Tilt Function- XPPen Artist 13.3 Pro supports up to 60 degrees of tilt function, so now you don't need to adjust the brush direction in the software again and again. Simply tilt to add shading to your creation and enjoy smoother and more natural transitions between lines and strokes
  • Graphics Tablets: High Color Gamut- The 13.3 inch fully-laminated FHD Display pairs a superb color accuracy of 88% NTSC (Adobe RGB≧91%,sRGB≧123%) with a 178-degree viewing angle and delivers rich colors, vivid images, and dazzling details in a wider view. Your creative world is now as powerful as it is colorful
  • Drawing Pad: One is enough- The sleek Red Dial on the display is expertly designed with creators in mind, its strategic placement allows for natural drawing postures. With just one wheel, you can effortlessly zoom in and out, adjust brush sizes, and flip the canvas—all tailored to suit the habits of everyday artists. The 8 customizable shortcut keys allow you to personalize your setup, streamlining your workflow and enhancing creative efficiency
  • Universal Compatibility & Software Support:supports Windows 7 (or later), Mac OS X 10.10 (or later), Chrome OS 88 (or later), and Linux systems. Fully compatible with major creative software including Photoshop, Illustrator, SAI, and Blender 3D. Register your device to access additional programs like ArtRage 5 and openCanvas for expanded creative possibilities.

The announcement describes version 0.1.4, while the npm listing showed version 0.1.5 when checked for this article. Package versions and usage metadata can change; consult npm for the current release. The npm page’s weekly-download count is a time-sensitive snapshot, not evidence of broad adoption.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
16 Inch Large LCD Writing Tablet for Kids, Colorful Reusable Electronic Doodle Board with Stylus, Educational Drawing Pad for Math Practice & Learning, Travel Essential Toys for Boys Girls (Pink)
  • 【16-INCH JUMBO SCREEN & EYE PROTECTION】Upgrade your child's creativity with our extra-large 16" LCD writing tablet. Providing 50% more drawing space than standard boards, it uses advanced pressure-sensitive technology. No glare, no blue light, and no radiation—completely safe for toddlers to doodle for hours without eye strain.
  • 【ONE-TAP CLEAR & ANTI-ERASE LOCK】Is it easy to clean? Absolutely! Simply press the erase button to instantly clear the screen like magic, leaving zero mess, ink, or dust. The built-in lock switch on the back protects your child's masterpiece from accidental deletion, making it perfect for saving important notes or drawings.
  • 【STYLUS INCLUDED & PERFECT FOR MATH PRACTICE】Comes with a dedicated stylus that glides smoothly for colorful lines. It's not just a drawing pad; it's an interactive educational tool! Ideal for preschool learning, spelling, handwriting practice, and solving math problems without wasting hundreds of sheets of paper.
  • 【MESS-FREE TRAVEL ESSENTIAL】Made from durable, drop-resistant ABS plastic, this lightweight electronic doodle board is the ultimate travel activity for kids. Keep toddlers quietly entertained during long car rides, airplane trips, church, or at restaurants, without the mess of crayons or markers.
  • 【IDEAL GIFT FOR BOYS & GIRLS】Packaged beautifully, this reusable magic slate is a fantastic gift choice for birthdays, Christmas, Back-to-School, or Thanksgiving. Suitable for 3, 4, 5, 6, 7, 8-year-old toddlers, kids, and even adults for daily office memos.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.