What's with the variation code?

Please check here FIRST if you are having difficulties with Context Free. This forum contains answers to the most common questions users have.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
User avatar
Site Admin
Posts: 81
Joined: Wed May 04, 2005 12:46 pm
Location: Mountain View, CA

What's with the variation code?

Post by mtnviewmark »

Most rule sets involve some amount of random choice. The variation code is a short name for a particular sequence of random choices. If you render a rule set with the same variation code, you'll get the same picture. Normally, each time you choose "Render", the variation code increments and you get a different image. If you decided you liked an earlier one, you can type in the original code for it, or use the up/down buttons next to the code to go back to it.

A major use of the variation code is so that you can quickly preview a number of images at the smaller window size. When you find one you like, you can choose "Render with dimensions..." to create a high-resolution version. For this kind of re-render, the variation code is not incremented so you should see the same image, only better.

Note: some rule sets will not produce the same image at different dimensions when given the same variation code. I'm working on it...

The variation code is available at the top of the window in both the Macintosh and Windows versions. The Posix/Unix version will tell you what variation code it is rendering with, and you can specify it on the command line with the -v option.
I'm the "m" in "mtree.cfdg"

User avatar
Posts: 4
Joined: Fri Oct 14, 2005 12:06 am
Location: St. Louis, MO, USA

number of potential variations

Post by dz79 »

That means in Windows and OS X the number of potential variations on an image is 18,278:

(26^1) + (26^2) + (26^3) = 18,278

and in the Posix version it's 321,272,406:

(26^1) + (26^2) + (26^3) + (26^4) + (26^5) + (26^6) = 321,272,406


User avatar
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California

Post by MtnViewJohn »


Post Reply