Colormotor is a creative coding framework with a "scientific twist". The framework builds on top of Armadillo for linear algebra operations, OpenCV for image manipulation and OpenGL for hardware accellerated rendering.
Armadillo is definitely not the fastest or most lightweight solution for a graphics-oriented framework. On the other hand, the library provides many utilities that make it easy to switch between C++, Python and Matlab, and vectorised operations result in much more concise code.
Colormotor includes Python bindings that can be used independently as a module, or within the Colormotor Sandbox live coding environment.
The framework depends on:
The paths in the CMake files to build the frameworks, and the Python bindings as well, assume that the dependencies are installed with Homebrew, and located in the /usr/local folder.
The frameworkd relies on some of the Clang language extensions, so you will need to install clang with
sudo apt-get update
sudo apt-get install clang
You will also need GLEW and GLFW3 that can be installed with
sudo apt-get install libglew-dev libglfw3-dev
Navigate to the colormotor repository directory and then
mkdir build
cd build
cmake ..
make
Build the and run the apps/examples/basic/basic.xcodeproj XCode project.
Navigate to the apps/examples/basic directory and then
mkdir build
cd build
cmake ..
make
To launch the app
./basic_example