README.md

ggblur

ggblur provides geom_point_blur() for use in ggplot - this geom allows you to control the blurriness of the drawn points, but is otherwise identical to the standard geom_point().

What’s in the box?

Similar packages

How it works

Blur is simulated by keeping the original point, and drawing a sequence of larger, faded points behind it (illustrated below).

The number of points rendered is controlled by blur_steps and the distance to which the blur extends beyond the edge of the original point is controlled by blur_size.

Note: Paul Murrell has some experiments to add radial gradients to grid graphics (see his github) and if this becomes part of grid it may be a better method of simulating blur.

## Installation You can install the development version from [GitHub](https://github.com/coolbutuseless/ggblur) with: wzxhzdk:0 ## Example 1 - constant `blur_size` When not used as a mapped aesthetic within `aes()`, the same `blur_size` is applied to every point. wzxhzdk:1 ## Example 2 - mapping `blur_size` as an aesthetic When used as a mapped aesthetic within `aes()`, the `blur_size` is calculated individually for each point. wzxhzdk:2 ## Example 3 - control over blur parameters `blur_steps` and `scale_blue_size_continuous/discrete/manual()` can be used to further customise the appearance. wzxhzdk:3 ## Example 4 - blur with colour wzxhzdk:4


coolbutuseless/ggblur documentation built on Feb. 16, 2020, 12:21 a.m.