Fluid simulation of the surface of a knotted torus.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
TrefoilKnot.xcodeproj
bin
src
Makefile
Project.xcconfig
README.md
addons.make
config.make
openFrameworks-Info.plist

README.md

A fluid simulation running on a torus tied in a knot.

Knotted Torus

I’ve thickened out a trefoil knot, and made it move and breath with a rhythmic pulse. The surface of the knot is textured with a fluid simulation. Particles float around in the fluid and leak coloured ink, which swirls around delightfully in the liquid surface of the knot.

The real time fluid simulation uses the CURL of Perlin noise to generate a flow field that shifts the fluid around. The flow field itself is also used as a bump map to texture the surface.

Made with openFrameworks and GLSL.