openframeworks addon. Combines 2D fluid simulation, optical flow and more using GLSL shaders. Works best with live camera input.
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example_core cleanup Aug 19, 2018
example_extended cleanup Aug 19, 2018
src Merge branch 'Fluid-Rebuild' Aug 19, 2018
.gitignore no settings Aug 10, 2018
LICENSE Update LICENSE Sep 15, 2015
README.md example update Aug 10, 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 (video is of an older version)

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

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