SVN did a great job for me for at least four years now. Lately, I stumbled upon Mercurial and decided to have a closer look. It turned out that Mercurial (also called “hg”) comes with some great advantages, namely:
Not a “Version Control System” (VCS), but a “Distributed Version Control System” (DVCS) enabling you to check [...]
[Read more →]
Tags:DVCS·Mercurial·Python·SVN·Version Control
First, I’d like to apologize for the long time I wasn’t blogging anything. I was working on my M.Sc. Thesis which is now finished. Btw.: we used of005 for the visualization part of a fancy machine learning experiment. Perhaps you are interested in it. The doc is online here.
However, the actual reason why I type [...]
[Read more →]
Tags:openframeworks·OS X·Python
A new openFrameworks-Python Binding for OS X 10.5 is finally available for download. The new binding comes with an Xcode project including the openFrameworks 005 source code and required libraries plus an example of how to use the binding. As in the previous versions, after building the binding using Xcode, you may run the test [...]
[Read more →]
Tags:binding·leopard·openframeworks·OS X·Python
Recently I presented the openFrameworks-Python live coding proof of concept on this blog. Unfortunately, the first version was quite unstable, because code changes introducing syntax errors would crash the running application framework.
This has now been solved as suggested by Maddi with an exception handling block. That is, as soon as draw.py has syntax errors in [...]
[Read more →]
Tags:live coding·openframeworks·Python
Pythonware’s PIL, the Python Imaging Library, is an extension to Python enabling you to process and arrange images quickly. It supports the popular JPEG and PNG image formats and provides font rendering using the freetype2 library. Unfortunately, PIL is not included in the standard Python environment on Mac OS X 10.4/10.5, so you have to [...]
[Read more →]
Tags:imaging·OS X·PIL·Python
Recently I promised to write another post on what cool stuff can be done with the openFrameworks-Python binding. Besides the fact that being able to quickly write openFrameworks apps with Python is cool enough actually, Python is an interpreted language and does therefore enable us to execute and change code dynamically — even at runtime. [...]
[Read more →]
Tags:live coding·openframeworks·Python
I stumbled upon Ragestorm.net’s great tutorial on Python embedding when I was trying to embed Python in a Cocoa application and redirect standard output / standard error to an NSTextView. Ragestorm’s tutorial is not particularly about Cocoa / Objective-C, but does though solve the problem. Stdout / stderr is simply redirected using a fragment of [...]
[Read more →]
Tags:cocoa·objective-c·OS X·Python·xcode
SWIG makes the creation of bindings for C/C++ libraries easy for various high-level exits (Java, Perl, PHP, Python, etc.). However, in the case of Python on OS X, when the actual SWIG wrapper is finished the difficulties begin: one needs to create an adequate dynamic library for the Python runtime — and like with everything [...]
[Read more →]
Tags:binding·C/C++·OS X·Python·SWIG
If you know Processing you may have heard of openFrameworks. openFrameworks is a library for »creative coding« with regard to simplicity, performance and platform-independence. It is available in C++ featuring pre-compiled binaries and IDE projects for the major platforms (Mac OS X, Linux and Windows). However, during the work on my master’s thesis I have [...]
[Read more →]
Tags:binding·generative art·openframeworks·OS X·Python