Mandalas are square patterns. Think of a line that starts at the mandala’s center and extends straight out. Imagine swinging it as if it were a piece of rope, with a weight on the end to keep it straight. When the line dips and climbs, you’ll make an interesting surface. If the line itself ripples while you swing it, your surface will be even more interesting.
This is what making mandalas is all about. You control the ripple and the dipping. How many ripples from your hand to the end? That’s called the ripple frequency, and how many dips in a complete swing, that’s a frequency too.
When your mandala is made, the ripple and dip effects are added – if one is positive and the other negative you’ll tend to get a blank area. But if both are positive, you’ll have lots of colored fields of various density.
Your mandalas have a third effect, a combination of dips and ripples. All three effects are added to get the surface.
Advice: Until you have a good feel for dips and ripples, use zero (0) for your combination number. Also, use small
integers like 1 or 5 or 4.
Mandala was converted to C by R. Alan Monroe based on a BASIC game of the same name by Greg Yob as found in “What to do after you hit Return” by Creative Computing.

Download and Play
Download the source code
February 21st, 2010 - 9:28 pm
There is a bug when compiling under linux with PDCurses. Instead of color, the output looks like this:
http://i50.tinypic.com/faohtg.png
February 26th, 2010 - 10:56 am
@sh228 – That’s odd. I wonder what’s the problem. Lemme know if you fix it.
Compiles in flash just fine apparently. http://www.peternitsch.net/demo/pdcurses3/ <- click here to play the game without needing to download/compile.
February 26th, 2010 - 11:43 am
The Flash version is neat. I’ll have to see how that’s done. It seems to have a “crack” in the middle of the display, though, like the math being a little off around x=0.