Learn R Programming

generativeart (version 1.0)

generate_seeds: Generate seeds

Description

This function creates a vector of random numbers between 1 and 10000 that are used to set the seed. Since every images needs its own seed, the number of images you want to create equals the number of seeds.

Usage

generate_seeds(nr_of_img)

Arguments

nr_of_img

a numeric input vector specifiying the number of images that should be generated.

Value

numeric vector

See Also

generate_filenames the file names are created based on the seed

Examples

Run this code
# NOT RUN {
generate_seeds(3) #creates the seeds for three images
# }

Run the code above in your browser using DataLab