Code P_2_1_1_01

P_2_1_1_01
Grundlegende Prinzipien –  P.2 Form –  P.2.1 Raster –  P.2.1.1 Anordnung im Raster –  P_2_1_1_01
Download Code Processing 1.x

Pages


  • 206 - 207

Comments

  • 2011-12-28 @ 3:08 pm   |  Comment by AJ

    Why does the division of the matrix stay the same even though the 'toggle' variable is written within the draw function and thus is processed 30 times per second. I would have expected the line matrix to change every time the draw function is executed. Why do the random values stay the same?

     

    Thank you.

     

    cheers

    Aaron

  • 2012-01-01 @ 9:36 pm   |  Comment by Benedikt Groß

    hi aaron,

     

    because in each new iteration of the draw loop the randomSeed() function is called. the result is that the randomness or the sequence of the toggle numbers is determined by the parameter of the randomSeed() function.

     

    hope this helps,

    benedikt

Leave a Comment

   (required)

   (required)

  

Please enable JavaScript to post a comment.

(.zip, max. 1MB)  

   (required)