Kinect with Simple Open NI and Processing on Mavericks

I wasn’t able to get kinect working with Processing 2.1.1 and OS X Mavericks, but following this answer to a similar problem sorted it out. Essentially, you run brew install libfreenect in Terminal (you’ll need homebrew installed) and then move the resulting installed file to inside the Simple OpenNI Library, so move

/usr/local/Cellar/libfreenect/0.2.0/lib/libfreenect.0.1.2.dylib

to

/Users/yourusername/Documents/Processing/libraries/SimpleOpenNI/library/osx/OpenNI2/Drivers/libfreenect.0.1.2.dylib

And all should be well.