Closed samuel-data-lab closed 3 years ago
Hey,
the example is provided in the Readme.
In the table at the bottom I provide the formulas for x
and y
for seed 1821. When you plug them into a variable you can run the function, see https://github.com/cutterkom/generativeart#examples
Thanks. My goal is to re-generate the same image using the seed 1821 to learn more about the generate_img() function and the package in general. I get how to specify the formula X & Y. But, how to set seed to generate one single image with the above seed? Thanks again
I updated the package, because due to your issue I realized that the regenerate_img()
was broken.
So, your have to do two things:
LOGFILE_PATH
regenerate_img(seed=1821, polar=TRUE)
. This will pull the formula from the logfile and recreate the imageThanks. That worked beautifully!
Is it possible to add the options for color to regenerate_img function? When I use it with color parameters included I get :
unused argument (color = "red", background color="black")
Could you please share the code to generate the art using the seed 1821?