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

Psyco specialization

Psyco is a specializing compiler for Python. You can use it to make specific math- or list-intensive commands run faster (up to 2x-100x). As of version 1.9.3, Psyco is included in NodeBox and will work on Intel macs (i386 architecture). To optimize a command then simply use:

    import psyco

For any code you would consider writing a C extension you can use Psyco instead. Use bind() to have Psyco examine your command and optimize it. Psyco will emit fast machine code on the fly. Remember to wrap the Psyco bindings in a try-except block so users without Psyco can still run your script.

Specialized libraries

Some of the libraries will attempt to use Psyco when running in NodeBox 1.9.3: