library(tidyverse)
library(ggstamp)
set.seed(1243)
tibble::tibble(x = rnorm(40000, sd = .7),
y = rnorm(40000, sd = .7)) %>%
ggplot() +
aes(x = x, y = y) +
geom_hex(show.legend = F, color = alpha("white", 0)) +
coord_equal() +
stamp_polygon_inverse(radius = 2, radius_outer = Inf
) +
stamp_polygon(alpha = .2, n = 5, size = 1.75,
fill = "magenta", color = "grey15",
rotation = -.55) +
stamp_polygon(radius = .4, n = 3,
x0 = .3, y0 = .77, rotation = -.4,
alpha = 1, fill = "orange", size = 0) +
stamp_text(angle = 30, label = "ggstamp",
x = .7, y = -1,
color = "snow1") +
stamp_text(angle = 30, label = "github.com/EvaMaeRey/ggstamp",
x = .7, y = -1.45, size = 1.8,
color = "grey85") +
stamp_polygon(radius = 2,
alpha = 0, size = 2,
color = "plum3") +
theme_void() +
ggxmean::stamp_normal_dist(sd = .2, alpha = .8, height = 1.5) +
stamp_point(xy = pos_wrap(n = 22, ncol = 6, width = .15, x0 = -.95, y0 = -.3), size = 1,
color = "seagreen2")