
NodeBox comes bundled with a number of C extensions that increase performance.
Nodebox text portrait install#
Ubuntu: sudo apt-get install python-pyglet GNU/Linux users can use their package management system to install Pyglet.
Nodebox text portrait for mac os x#
This is fine for Mac OS X 10.5, on 10.6+ (Snow Leopard) this is a 64-bit Python and you either need to install a 32-bit version (better Pyglet + Pysco support), or switch the current version to 32-bit mode by executing the following command from the terminal (more info here):ĭefaults write Prefer-32-Bit -bool yes On Mac OS X, Python is already installed. It works on all platforms if you have Python and Pyglet installed. NodeBox for OpenGL is built on the excellent Pyglet module. In: Applications of Evolutionary Computation, Part II, LCNS 6625, pp. Generative art inspired by nature, in NodeBox.


This version of NodeBox for OpenGL has been developed by the City In A Bottle team, with funding support from the Flemish Audiovisual Fund (VAF). It's not as fast as anything in native C, but quite a bit faster than the classic NodeBox. NodeBox for OpenGL can be used for simple games, interactive media installations, data visualization and image compositing. The original goal is to implement a small game engine for City In A Bottle. It opens the main application window with n().įrom import Flock It defines a draw() function and attaches it to the canvas, so that it will be drawn each animation frame. It imports the aphics module with the standard set of drawing commands. To get started, try out some examples, or open and edit examples/test.py.īelow is a typical NodeBox script. This will open an application window with the output of your script. The documentation works in conjunction with the examples folder: subjects are touched here and demonstrated in more detail across various examples.įrom the command line, you can run a script with: python example.py (or command-R in TextMate). Users are assumed to have knowledge of Python (functions & classes) and NodeBox (the original docs are more verbose). You can use the IDLE editor bundled with Python.
Nodebox text portrait code#
NodeBox for OpenGL does not have a built-in code editor. You'll need a 32-bit Python (version 2.5 or 2.6) and Pyglet to run it. Screenshot: examples/07-filter/03-mirror.py Quick overview It has built-in support for paths, layers, motion tweening, hardware-accelerated image effects, simple physics and interactivity.

It is built on Pyglet and adopts the drawing API from NodeBox for Mac OS X ( ). NodeBox for OpenGL is a free, cross-platform library for generating 2D animations with Python programming code.
