It looks like you're new here. If you want to get involved, click one of these buttons!
Inspired by the no-longer working RedBlue anaglyph library, I have created a new library for making all kinds of stereoscopic or 3D effects called Camera3D.
The library is customizable and can do much more than red-cyan bitmask filter anaglyphs. For example, I implemented a real-time algorithm for Dubois Anaglyphs (including Amber-Blue aka ColorCode3D), and I can make split-frame animations for NVidia 3D monitors. There's a barrel distortion algorithm (Oculus rift) and there's an algorithm I'm calling Split Depth Illusion, which nobody has done before. Camera3D is fully customizable so people can also use my framework to make totally new algorithms.
The key insight behind Camera3D is I figured out that the sketch's draw method can be called multiple times. Processing calls the draw method once, but then my library calls it again with different camera settings. This makes my library very easy to use. You can apply a whole library of 3D algorithms to a P3D sketch with just a few extra lines of code.
I put a lot of work into making these algorithms FAST so your framerate can be as fast as possible. I also did much research so the 3D effects can be done correctly. For example, Camera3D by default uses the (correct) off axis stereo pairs using an asymmetric frustum, instead of the more commonly done (incorrect) toe-in stereo pairs, which introduces vertical parallax near the edges of the image.
There's a lot happening here so I wrote a lot of documentation and examples so you can understand how to use it. Go to:
Camera3D should work correctly in Processing 2 and 3. You can install it today using the Processing Add Library feature.
I'll patrol the forums to make myself available to answer questions and help you use this.