A real-time cross-platform creative coding tool for multimedia development
Ofelia is a Pd external which allows you to use openFrameworks and Lua within a real-time visual programming environment for creating audiovisual artwork or multimedia applications such as games.
openFrameworks is an open source C++ toolkit for creative coding.
Lua is a powerful, efficient, lightweight, easy-to-learn scripting language.
Pure Data(Pd) is a real-time visual programming language for multimedia.
Thanks to Lua scripting feature, you can do text coding directly on a Pd patch or through a text editor which makes it easier to solve problems that are complicated to express in visual programming languages like Pd. And unlike compiled languages like C/C++, you can see the result immediately as you change code which enables faster workflow. Moreover, you can use openFrameworks functions and classes within a Lua script.
Using Ofelia, you can flexibly choose between patching and coding style based on your preference.
The external is available to be used under macOS, Windows, Linux and Raspberry Pi.
Help
-> Find externals
, then search for ofelia
ofelia/examples
directory.vc_redist
executable file inside ofelia
directory to install Microsoft Visual C++ Redistributable packages. And if video examples don't work properly, try installing the K-Lite Codec Pack.cd ofelia/scripts/distro_name sudo ./install_dependencies.sh
ofxOfelia is Ofelia packaged as an openFrameworks addon which enables you to create a standalone (macOS, Windows, Linux, Raspberry Pi, iOS and Android) or web application that can run Pd patches made with Ofelia and Pd vanilla objects.
You can share the application with a wide range of audiences including mobile device, internet and non-Pd users.
In order to use ofxOfelia, you first need to download and install openFrameworks. Please follow the setup guides to download and install openFrameworks 0.11.0 which is the most recent stable release.
The following tools are used to build ofxOfelia project.
ofxOfelia
.OF/addons
. ("OF" indicates the base directory of openFrameworks)cd OF/addons/ofxOfelia/scripts/Linux64 sudo ./updateOF.sh
OF/addons/ofxOfelia/macOSExternal/ofelia.xcodeproj
with Xcode and build the project.OF/addons/ofxOfelia/WindowsExternal/ofelia.sln
with Visual Studio and build the solution.cd OF/addons/ofxOfelia/LinuxExternal make
OF/addons/ofxOfelia/(targetOS)/bin
into the Pd externals directory.OF/addons/ofxOfelia/macOSExample/macOSExample.xcodeproj
with Xcode and run the project.OF/addons/ofxOfelia/WindowsExample/WindowsExample.sln
with Visual Studio and run the solution.cd OF/addons/ofxOfelia/LinuxExample make && make RunRelease
OF/addons/ofxOfelia/iOSExample/iOSExample.xcodeproj
with Xcode and run the project.Open an existing Android Studio project
and open OF/addons/ofxOfelia/AndroidExample
and run the project.OF/addons/ofxOfelia
and paste it into OF/apps/myApps
directory.yourProject/bin/data/pd
with your files.yourProject/bin
directory.ofxOfelia
.OF/addons
. ("OF" indicates the base directory of openFrameworks)cd OF/addons/ofxOfelia/scripts/Emscripten sudo ./updateOF.sh
cd OF/addons/ofxOfelia/EmscriptenExample emmake make emrun bin/EmscriptenExample.html
You can help develop ofxOfelia on GitHub: https://github.com/cuinjune/ofxOfelia
Create an account, clone or fork the repo, then request a push/merge.
Feel free to contact the author if you have any questions or suggestions.
Copyright (c) 2018 Zack Lee: [email protected]
GNU General Public License v3.0
For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "LICENSE.txt," in this distribution.