ofxAddons is directory of extensions and libraries for the openFrameworks creative coding toolkit. Compiled fresh from Github daily.

What are openFrameworks addons?

An addon is code that extends openFrameworks in some way. There are usually two main reasons to make an addon:

  1. Bring in an external library or framework and allow it to easily be integrated into openFrameworks projects, eg: ofxKinect for using the kinect in openFrameworks, or ofxMidi for sending midi commands
  2. Make some complicated task simple and reusable for yourself and other openFrameworks programmers, eg: ofxQuadWarp by julapy or ofxControlPanel by ofTheo for user interfaces.

How do I install an addon I found on this site?

You can checkout a copy of the code using git. The name of each addon links to its github repository. You can use the Download Zip button Howto download 048b599c9733bd1d52a76c98b6ef0ab9313ce6a544d724e655f40f0d3baeddb1 or copy the URL bar, open up a terminal, move to your local openFrameworks addons directory and clone it:

$ cd of_preRelease/addons/
$ git clone https://github.com/obviousjim/ofxSomeAddon

Once you've got the code using either of these methods you should be able to open up the project files in the examples folders of the addon (note that some addons may be not have an example) and build->go to see them work.

Addons can be included in new openFrameworks projects through the Project Generator or you can just copy the example folder into a new apps/ folder and modify it from there.

If the addon doesn't build right away, it may require or be dependent on other addons or libraries. Those should be described by the addon developer in their README file. If there are no project files or the addon is structured in a way that makes openFrameworks show up missing when you open them, please email the addon developer pointing them to this page so they can change the structure to make it easier for people to use.

Being included on the site is no guarantee that the code works or is useful. We couldn't possibly test and run them all ourselves, so it's between you and the developer to sort out issues if they don't work.

Can you explain the information included on ofxAddons?

The title of each addon links to its repository on github.com. Below each is a description (extracted from github) followed by the creator and information about how long ago the code was updated, the latest version of openFrameworks that was released at the time of the last update (note that it is likely but not guaranteed to work with that version) and the number of github stars. If the addon includes an example and makefile, it is indicated. In addition, all forks of the repository that either have been updated more recently than the original or have more stars than the original are listed. Each contributor has an individual page that lists the addons they have developed. The data on the page is updated once per day.

Should I turn my openFrameworks thing into an addon?

The best addons make something that was hard easy. They allow you to do complicated things with really little code. If you have just conquered a big library, algorithm, or invented a new process you should consider making it an addon. If you're still wondering, maybe these questions will help:

  1. Does your addon do something that you think other people would like to do too?
  2. Make sure your addon doesn't already exist by looking at ofxaddons.com.
  3. If a similar thing does exist but you think you did it better, consider forking the existing addon into your github account and modifying it.

How do I make an openFrameworks addon?

folder structure for an addon looks like this:
            ... //other platforms
          ... //other source
        ... //other project files for other platforms

Everything should go into of_preRelease/addons/. The name of the repository should be ofxMyAddon. The point being when someone clones your git repository into their addons/ folder your examples will run without having to shuffle any files around.

Wait can you explain that more?

  • The folder under of_preRelease/addons should be the same name as the addon. This is also the git repository name.
  • Beneath it there should be at least two sub folders for the source and examples:
  • If you have multiple examples for your addon, make sure they are prefixed with example-xxxx:
  • If the addon is for interfacing with external libraries include the source or any static libs for these in a libs folder
  • The src folder should contain your addon source
  • The example folder should contain the example source and project files (the same style that you would normally find in apps/examples/someExample
    ... //other project files for other platforms

Is my addon done yet?

  • Do you describe what your project does in your description and README?
  • Do you list what operating systems you are supporting?
  • Do you have example projects?
  • Do your examples compile against the latest openFrameworks distribution downloaded from the of website?
  • Did you give credit and links to whoever wrote the original code your addon includes?
  • Are you clear about how your addon is licensed? Be straightforward if you don't want people to use it commercially. Also make sure that your dependent libraries have licenses that you are respecting.

How do I submit my addon to this page?

You don't have to! Uploading it to github is enough, as long as you have the 'ofx' prefix in your repository name then we'll find it. Feel free to send us a note if you want to tell us about it and let us know what category it belongs in.

How do I add a thumbnail for this page?

Include an image file (270x70) in the root of your repository named: ofxaddons_thumbnail.png

How do you find all these addons?

We wrote scripts to discover addons on github.com. The scripts look at the repository name and description for things like 'openFrameworks' and 'ofx'. We have manual admin tools to discard the results that aren't openFrameworks related, empty, or blatantly incomplete. The ones we keep are tagged with categories after doing a bit of research about them.