Tutorials:Ofelia Tutorial

(note: This is still in sketch phase. But I hope this will be useful in the future)



Welcome to this Ofelia Tutorial! Ofelia is an external for Pure Data that allows to use Lua and openFrameworks in the real-time environment of Pd, allowing to prototype ideas and create interactive applications.

This tutorial will use Ofelia v4.0, and unfortunately, Ofelia only works up to pd 0.51-4 (see the issue #65 on ofelia github), so this tutorial will assume you are using pd-vanilla version 0.51-4. (as soon as the issue is solved, this disclaimer will be updated).

Installation
Ofelia can be downloaded through Deken (via Help -> Find Externals menu). But ofelia may not work out of the box.

If you are on Windows or Linux you may have to do some extra steps to make ofelia to run.

You can find the extra steps here: https://github.com/cuinjune/Ofelia#installation

About this Tutorial
This tutorial is actually made of two separate tutorials which have two different goals:


 * 1) The first is aimed to explain ofelia from scratch, teaching both lua and openframeworks along the way. This is aimed at beginners so no previous knowledge of lua or openframeworks is expected.
 * 2) * Tutorials:Ofelia Tutorial/Contents
 * 3) The other is aimed at explaining the examples patches that live in ofelia/examples folder. These examples show code which comes from different sources, some are from openframeworks examples, some are from processing examples, and there are some that are specific to ofelia. These examples are great to learn how to do all sort of things in ofelia, but they may be a bit overwhelming to the beginner, so this tutorial is intended to help to understand what is going on in each of these examples line per line of code.
 * 4) * Tutorials:Ofelia Tutorial/Examples

Where can I get help or ask questions about Ofelia?
There are many places where you can ask questions about Ofelia:


 * Ofelia Facebook Group:
 * https://www.facebook.com/groups/2381461598611229
 * Puredata Forum has a dedicated place to ask about Gem and Ofelia:
 * https://forum.pdpatchrepo.info/category/7/pixel
 * Puredata Discord Channel has #visuals topic, also for Gem and Ofelia:
 * https://discord.gg/aNd8RrT

If you found an issue or bug with Ofelia, you can report it at Ofelia Github:
 * https://github.com/cuinjune/Ofelia/issues

I like Gem, there is a way to use Ofelia like Gem?
Yes, Raphael Isdant (or 60Hz) has made a library to use with Ofelia to make it work in a similar way of Gem.

You can check the project here: And also read more about it here:
 * https://github.com/60-hz/Ofelia-Fast-Prototyping
 * https://forum.pdpatchrepo.info/topic/12790/fast-prototyping-for-ofelia