create_png | R Documentation |
Creates a png file
create_png( seeds, size, anchor_layout, hue_turn, color_scheme, color_subset_center, color_subset_width, alpha_taper, output_file )
seeds |
Values to set the random seeds in |
size |
Number of points. |
anchor_layout |
Either "random", "spiral", or "diamond". |
hue_turn |
Degree to rotate all hue values. |
color_scheme |
Either "subset" or "full" for hue range. |
color_subset_center |
Center hue value when using subset color_scheme |
color_subset_width |
Width hue value when using subset color_scheme |
alpha_taper |
Direction the paths taper. Options are "start", "end", and "both". "start" fades away at the anchor points while "end" fades away in the opposite direction. "both" fades in both direction. |
output_file |
File to save the png. |
png file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.