Code Monkey home page Code Monkey logo

Comments (5)

cutterkom avatar cutterkom commented on August 30, 2024

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

from generativeart.

wsamuelw avatar wsamuelw commented on August 30, 2024

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

from generativeart.

cutterkom avatar cutterkom commented on August 30, 2024

I updated the package, because due to your issue I realized that the regenerate_img() was broken.

So, your have to do two things:

  1. create a csv logfile just like at the bottom of the "Examples" section: https://github.com/cutterkom/generativeart#examples and reference it with LOGFILE_PATH
  2. then call regenerate_img(seed=1821, polar=TRUE). This will pull the formula from the logfile and recreate the image

from generativeart.

wsamuelw avatar wsamuelw commented on August 30, 2024

Thanks. That worked beautifully!

from generativeart.

data2700 avatar data2700 commented on August 30, 2024

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")

from generativeart.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.