Code P_1_2_1_01

Grundlegende Prinzipien –  P.1 Farbe –  P.1.2 Farbpaletten –  P.1.2.1 Farbpaletten durch Interpolation –  P_1_2_1_01

Pages


  • 188 - 189

Comments

  • 2009-12-30 @ 5:07 pm   |  Comment by Yohane

    Hello!

     

    I get an message when I try to run this example?

     

    "The package "generativedesign" does not exist. You might be missing a library."

     


    Note that release 1.0, libraries must be installed in a folder named 'libraries' inside the 'sketchbook' folder.

    I use Processing 1.0.9 on Mac OS X

     

    Can someone help me

     

    Thanks Yohane

  • 2010-01-01 @ 7:08 pm   |  Comment by Benedikt Groß

    hello yohane,

     

    you have to install our library "generativedesign" (can be downloaded on the code page). if you don't know how to install a processing library ... i can recommend for instance this little tutorial: http://www.learningprocessing.com/tutorials/libraries/

     

    no worries it is very easy :)

  • 2011-10-03 @ 5:06 pm   |  Comment and Gallery Post
    by pat
  • 2012-05-10 @ 8:24 pm   |  Comment by Doeke

    In the code 10 rows are created to show color, however with the current code it will never show more then 9.

    This is because height is 800, but the last y row is 799 since it starts at 0 and not at 1.

     

    This seems to be a working fix:

     

    tileCountY = (int) map(mouseY,0,height,2,11);

     

    now it's a lot easier to get the 10th row as well.

     

Leave a Comment

   (required)

  

Please enable JavaScript to post a comment.

(.zip, max. 1MB)  

Proof that you are human!
Please paste the snippet below in an empty Processing sketch!
What number does the Processing console show?

randomSeed(19425);
println(int(random(100000)));

  (required)