add_the_fork_rake_to_the_drawing: Add the fork rake to a frame drawing

Description Usage Arguments Value See Also

View source: R/draw_the_frame.R

Description

Warning: this requires a frame design tibble df that has the columns added by find_ht_extension_and_add_true_fork(). A minimal df tibble as drawn by wrap_frame_dims() will not be sufficient.

Usage

1
2
3
4
5
6
7
add_the_fork_rake_to_the_drawing(
  x,
  df,
  wheel_diameter = 622,
  c = I("black"),
  alpha_factor = 1
)

Arguments

x

An existing ggplot object. At a minimum, it's a scatter plot of the rear dropout center. But it can be a bicycle frame of a previous design already drawn, onto which you can now overlay a new design using the dims in df for easy comparison.

df

A frame design tibble, such as the minimal one drawn by wrap_frame_dims() or the one augmented by find_ht_extension_and_add_true_fork().

wheel_diameter

Wheel diameter in millimeters; 622 is the bead seat diameter of a 700c wheel. To see the effect of the tire width, add 2 x tire width in millimeters – i.e. specify wheel_diameter = 622 + 2 * 32 for a 32 mm tire.

c

The color of the line segments.

alpha_factor

The transparency of the line segments, alpha.

Value

A ggplot object.

See Also

ggplot2::ggplot()


ghuiber/bicycle documentation built on Dec. 20, 2021, 10:46 a.m.