A program that produces Single Image Random Text Stereograms (SIRTS).
Here the different characters represent different z depths, notice that the M appears closest and the J furthest away. See the code for full details of all the options. I wrote this from scratch mainly by experimentation and looking at some sample SIRTS. There’s probably something wrong with it but it appears to work reasonably well. It is a good idea to keep any features away from the left and right edges.
The program is in C++ and has been compiled successfully with g++ 3.0.3, but should work on any standard C++ compiler.