Page 1 of 1

ULG and JAB?

Posted: Fri Aug 12, 2005 8:47 pm
by shevegen
I just noticed:
1) Generating gray-scale image, variation ULG...
2) Generating color image, variation JAB...


What is ULG and JAB?

Also, one more newbie question, does it take significantly lower to use color, or is this neglectable?

Posted: Fri Aug 12, 2005 10:34 pm
by MtnViewJohn
Variations: Context Free/cfdg uses a pseudo-random number generator (PRNG) to select shape rules when a shape has more than one rule. CF/cfdg lets you control the seed of the PRNG by starting the program with a variation code, which currently is a one, two, or three letter word. The variation code gets turned into the seed for the PRNG. If you don't specify a variation code at the command line then one will be generated from the system time. You can use variation codes to indicate a particularly good variation of a cfdg file that you are generating. They are also useful when debugging a cfdg file because keeping the PRNG sequence the same lets you see exactly what your changes do.

Color: Color may be a little bit slower. I haven't benchmarked it. The AGG library that we use is blazing fast and very high quality. The reason that we didn't just eliminate the grayscale mode is because many people like to create very, very large images. Doing this in color chews up four times as much memory. So we only turn on color if the cfdg file requires it.