Crandore Hub

ggsketch

Grammar-Native Hand-Drawn Geoms for 'ggplot2'

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, <doi:10.1109/TVCG.2012.262>); see the NOTICE file in the package sources for attribution.

Versions across snapshots

VersionRepositoryFileSize
2.0.0 rolling linux/jammy R-4.5 ggsketch_2.0.0.tar.gz 3.8 MiB
2.0.0 rolling linux/noble R-4.5 ggsketch_2.0.0.tar.gz 3.8 MiB
2.0.0 rolling source/ R- ggsketch_2.0.0.tar.gz 2.9 MiB
2.0.0 latest linux/jammy R-4.5 ggsketch_2.0.0.tar.gz 3.8 MiB
2.0.0 latest linux/noble R-4.5 ggsketch_2.0.0.tar.gz 3.8 MiB
2.0.0 latest source/ R- ggsketch_2.0.0.tar.gz 2.9 MiB
2.0.0 2026-04-23 source/ R- ggsketch_2.0.0.tar.gz 0 B

Dependencies (latest)

Imports

Suggests