sconemad

technology, scones, nonsense

Loading...

Profiles

Twitter

GitHub

Launchpad

Subscribe to my RSS Feed

Admin

Text stereogram generator

Posted on Wed 19 Jun 2002

A program that produces Single Image Random Text Stereograms (SIRTS).

Here is a sample input file and the corresponding output - you'll need to view these with a fixed-width font for them to work. Here is an image showing how the output should look:

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.

Download source code

Updated on 2010-03-30 16:28:49 +0000 | Requested on 2019-12-12 08:31:15 +0000