View source: R/perception_matrix.R
generate_perception_matrix | R Documentation |
Generate perception matrix
generate_perception_matrix(
source_num_sine_waves,
source_frequency,
num_waves,
even_spacing = TRUE,
seed
)
source_num_sine_waves |
an integer value, the number of sine waves that will be summed to generate the waves of the matrix (this is used as input to the apply_random_sine_wave() function) |
source_frequency |
a numeric value, controls maximum frequency of waves of the matrix (this is used as input to apply_random_sine_wave() function) |
num_waves |
an integer value, the approximate number of waves that make up the matrix in each directional axis |
even_spacing |
a boolean value, set to TRUE to make the waves evenly spaced |
seed |
a numeric value, the seed to initialize psuedo-randomness |
a random work of art as a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.