openframeworks addon. Combines 2D fluid simulation, optical flow and more using GLSL shaders. Works best with live camera input.
C++ Makefile C
Clone or download
Latest commit c4c015e Jul 9, 2018
Permalink
Failed to load latest commit information.
example_core draw fixes Jul 6, 2018
example_extended normalization in areaFlow Jul 9, 2018
src fix Jul 9, 2018
.gitignore settings are back May 29, 2018
LICENSE Update LICENSE Sep 15, 2015
README.md todo Jul 5, 2018
ofxaddons_thumbnail.png thumbnail added Apr 18, 2014

README.md

ofxFlowTools

openframeworks addon. Combines 2D fluid simulation, optical flow and more using GLSL shaders. Works best with live camera input.

DEPENDENCIES & SYSTEM SPECS

  • This version of the addon was created using macOSX10.13 and OF 0.10 (OF 0.8.4 and 0.9.8 versions can be found in branches)
  • The addon should work on older versions of OSX, Windows and Linux.
  • dependent on ofxGui.
  • A discrete graphics card is highly recommended.

INTRODUCTION

The addon is meant for developers who like to use fluid simulation in combination with a live camera input to create psychedelic live visuals. http://vimeo.com/92334462

CREDITS AND ACKNOWLEDGEMENTS:

This addon started out as an expansion to ofxFluid by Patricio Gonzalez Vivo also using his ofxFX. While working on it it turned into a separate addon.

The Fluid shaders are adapted from various sources. Unfortunately I can't remember all, but the most important ones:

The Optical Flow Shader is based on a Quartz Composer patch, but was also inspired by ofxMIOFlowGLSL by Princemio

My interest in, and knowledge of, fluid simulation was hugely inspired by the work of Memo Akten. Thanx!

FUTURE ADDITIONS / TODO

first:

  • rebuild the area extension and add to examples

later:

  • visualization: better normalization
  • rebuild the fluidFlow
  • rebuild the particleFlow

maybe later:

  • Add Turing patterns: cake23.de/turing-fluid.html Beautiful!

(c) 2018 Matthias Oostrik http://www.matthiasoostrik.com