Lazy Brush icon
Lazy Brush icon

Lazy Brush

JavaScript library to draw smooth curves and straight lines with your mouse, finger or any pointing device.

Lazy Brush screenshot 1

Cost / License

  • Free
  • Open Source

Platforms

  • Self-Hosted
  • JavaScript
  • Typescript
-
No reviews
0likes
0comments
0alternatives
0news articles

Features

Suggest and vote on features
  1.  Smooth lines

Lazy Brush News & Activities

Highlights All activities

Recent activities

Show all activities

Lazy Brush information

  • Developed by

    CH flagJan Hug
  • Licensing

    Open Source (MIT) and Free product.
  • Written in

  • Alternatives

    0 alternatives listed
  • Supported Languages

    • English

AlternativeTo Categories

DevelopmentPhotos & Graphics

GitHub repository

  •  1,336 Stars
  •  33 Forks
  •  5 Open Issues
  •   Updated  
View on GitHub
Lazy Brush was added to AlternativeTo by Paul on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

What is Lazy Brush?

JavaScript library to draw smooth curves and straight lines with your mouse, finger or any pointing device.

This library provides the math required to implement a "lazy brush". It takes a radius and the {x,y} coordinates of a mouse/pointer and calculates the position of the brush.

The brush will only move when the pointer is outside the "lazy area" of the brush. With this technique it's possible to freely draw smooth lines and curves with just a mouse or finger.

How it works

When the position of the pointer is updated, the distance to the brush is calculated. If this distance is larger than the defined radius, the brush will be moved by distance - radius pixels in the direction where the pointer is.

Official Links