1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Increment a variable at each run ?

Posted by Tael_ on Feb 27, 2009

Hello,
I have a list of words to generate images with and I would like that each image use one word (e.g. image 1: word 1; image 2: word 2; etc.).
Can I do that with NodeBox ?

Thanks.


 
Posted by Brendan Dawes on Feb 27, 2009

You can use the PAGENUM variable.

More info: http://www.nodebox.net/code/index.php/Variables



Posted by Tael_ on Feb 27, 2009

That's exactly what I was looking for. Thanks !