Code M_6_1_01

Komplexe Methoden –  M.6 Dynamische Datenstrukturen –  M.6.1 Force Directed Layout –  M_6_1_01

Pages


  • 436 - 437

  • 438 - 439

Comments

  • 2009-10-20 @ 5:49 pm   |  Comment and Gallery Post
    by Hartmut Bohnacker
    Download Attachment

    A nice litte variation of the sketch where all nodes repel each other. Here, each node spans a colored triangle to the closest and to the second closest node. To achieve this, the node class was a bit modified.

     

    M_6_1_01_connected.png

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

  (required)