news.volyx.in

Lazy-brush – smooth drawing with mouse or finger (lazybrush.dulnan.net)

596 points by tvdvd · 346 days ago · 73 comments on HN

Article summary

The article introduces Lazy Brush, a JavaScript library that allows users to draw smooth curves and straight lines with their mouse, finger, or any pointing device. The library has settings for minimum distance, friction, and brush size, which can be adjusted to achieve the desired effect. The library is available on GitHub and can be used in various applications. It is designed to provide a smooth drawing experience, similar to drawing with a pen on paper.

Main themes

  • Smooth drawing
  • JavaScript library
  • Digital signatures
  • User interface
  • Drawing tools
  • Skeuomorphism

What commenters say

  • The library's dragging behavior is intuitive and mimics real-life physical dragging, making it easy to use.
  • Some users find the library's smoothing features to be too aggressive and prefer a more natural scribble effect.
  • The library's functionality is not new and has been available in other graphics software, such as Photoshop and Krita.
  • The use of the library for digital signatures raises concerns about the potential for modification or forgery, but others argue that it is no different from using a pen.
  • The library's settings can be adjusted to achieve the desired effect, and some users have found it to be very effective for creating smooth signatures.
  • Some users appreciate the library's ability to provide a smooth drawing experience, while others prefer more traditional drawing tools.
  • The library's implementation is impressive, especially considering it works well on mobile devices without requiring special permissions.
  • The discussion around the library highlights the trade-off between smoothing and accuracy, with some users prioritizing one over the other.