Rough.js
Rough.js: An Open-Source JavaScript Library for Hand-Drawn Web Elements
Rough.js is an open-source JavaScript library that allows you to create sketchy/hand-drawn styled shapes and lines on the web. It is lightweight and easy to integrate, enabling you to add hand-drawn elements to your web applications.
What is Rough.js?
Rough.js is an open-source JavaScript library that allows you to create sketchy/hand-drawn styled vectors and lines in the browser. It uses an algorithm to generate shapes with rough, scratchy edges to make them look hand-drawn.
Some key features of Rough.js include:
- Lightweight - only about 13kB minified and gzipped
- Draws sketchy/hand-drawn lines, circles, rectangles, polygons, curves, SVG paths, and texts
- Highly customizable - control roughness, bowing, stroke width, fill style, opacity and more
- Animatable elements
- Runs on both Canvas and SVG
- React and Vue integrations available
- TypeScript support
- MIT license
Rough.js is great for adding hand-drawn elements to web applications, such as maps, diagrams, illustrations, and data visualizations. It's a simple way to give elements a natural, imperfect, hand-drawn look. Many find the resulting aesthetics more inviting, fun, and relaxing compared to sterile computer graphics.
It works in all modern browsers and has no dependencies. The small size and focused scope makes Rough.js easy to integrate into web projects to add sketchy styles.
Rough.js Features
Features
- Creates sketchy/hand-drawn shapes and lines
- Lightweight library
- Easy to integrate into web apps
- Works with Canvas and SVG
Pricing
- Open Source
Pros
Cons
Official Links
Reviews & Ratings
Login to ReviewThe Best Rough.js Alternatives
View all Rough.js alternatives with detailed comparison →
Top Development and Graphics & Visualization and other similar apps like Rough.js
Rough Charts
Chart.xkcd
RoughViz