generate_seeds: Generate seeds

View source: R/generate_seeds.R

generate_seedsR Documentation

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

generate_seeds(3) #creates the seeds for three images

cutterkom/generativeart documentation built on May 2, 2022, 10:11 p.m.