Rough is a graphics library that renders hand-drawn-style sketches using the HTML5 Canvas or SVG. It emulates the appearance of a pencil sketch or doodle, giving digital drawings an informal and expressive look. The library is ideal for creative applications, data visualizations, and prototypes that benefit from a casual visual style. Rough is written in JavaScript and easily integrates with modern front-end frameworks and visualization tools.
Features
- Renders sketchy, hand-drawn-like shapes
- Supports Canvas and SVG rendering
- Customizable roughness, stroke width, and fill style
- Lightweight and framework-agnostic
- Compatible with D3 and other visualization libraries
- Works in modern web browsers
