Learn R Programming

ggsketch (version 2.0.0)

ggsketch-package: ggsketch: Grammar-Native Hand-Drawn Geoms for 'ggplot2'

Description

logo

Provides 'ggplot2' geoms that render with a hand-drawn, sketchy aesthetic: roughened strokes, double-pass lines, and hachure, cross-hatch, zigzag, and dots fill patterns. Implemented as pure-R 'grid' grobs wrapped in 'ggproto' geoms, composable with aes(), stats, scales, and faceting. Works on every R graphics device (PDF, PNG, SVG, screen) with no browser dependency. Algorithms are reimplemented from the published 'rough.js' algorithm description (Shihn, 2020, https://shihn.ca/posts/2020/roughjs-algorithms/) and Wood and others (2012, tools:::Rd_expr_doi("10.1109/TVCG.2012.262")); see the NOTICE file in the package sources for attribution.

Arguments

Author

Maintainer: Arijit Ghosh arijitghosh2009@gmail.com

Authors:

See Also