The website of »Generative Gestaltung« (first edition) is no longer maintained and has been archived.

Code P_4_2_1_01

Principes Fondamentaux –  P.4 Image –  P.4.2 Photothèque –  P.4.2.1 Collage à partir d’une photothèque –  P_4_2_1_01

Pages


  • 296 - 297

Comments

  • 2010-11-27 @ 10:14 am   |  Comment and Gallery Post
    by Thomas Koberger

    Das Henne-Ei-Problem mit leicht modiciziertem Code aus dem Beispiel.

  • 2012-11-05 @ 12:33 pm   |  Comment by Ashley Brown

    Arithmetic expression error

     

    items[i].indexToImage = indexes[i%indexes.length];

     

    at java.lang.Thread.run(Thread.java:680) at processing.core.PApplet.run(PApplet.java:1530) at processing.core.PApplet.handleDraw(PApplet.java:1608) at P_4_2_1_01.setup(P_4_2_1_01.java:92) at P_4_2_1_01.generateCollageItems(P_4_2_1_01.java:148)Exception in thread "Animation Thread" java.lang.ArithmeticException: / by zero

     

  • 2013-02-11 @ 7:16 pm   |  Comment by Glenn Gilchrist

    I am trying to dl the updated code to resolve this error but the zip file is invalid.

  • 2014-08-14 @ 3:34 pm   |  Comment by Esteban Londono

    Hi,

    I am trying to run the program P_4_2_1_01,

    but NullPinterException error appears and the error is highlighted in line 126:

     

    for (int i = 0 ; i < imageNames.length; i++) {

     

    I have been trying to intilialize each object it but no luck.

     

    Any clue on how to solve this?

     

    Thanks

    1.  
    1.  
    1.  
    1.  
    1.  
    1.  
    1.  

     

     

  • 2016-02-24 @ 11:56 am   |  Comment by aleida flores

    Hello,

    I am trying to run the program P_4_2_1_01, each time it bugs Processing.

    Do you have any ansewer to that.

    I can read that since 2010 there is a problem with this program, i hope you find the answer.

    Thanks a lot


  • 2016-04-11 @ 2:31 pm   |  Comment by JH  |  Download Attachment

    Hallo ich hab das gleiche Problem mit dem Programm. Es erscheint immer die Fehlermeldung "NullPointerException"(siehe Datei im Anhang) und ich weiss nicht, was ich tun muss.

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(92685);
println(int(random(100000)));

  (required)