# Design Option Generation Methods

## Fractal Design Option Generation Methods

**Cross Product**(default)

- Generate divides the input slider range (set by the max and min on publish from Dynamo) by the set number of variations
- Generate creates all possible combinations of inputs with the “vary” checkbox selected, using non-varying inputs as constants.
- Calculated stop values are rounded down to the closest, smaller step value
- The maximum slider value will always be used for a stop, regardless of if it is a valid step value
- The calculated number of designs indicates the number of designs that can be created. This number does NOT account for existing designs.

**Random**

- "Generate" uses a random value for each input slider within the min/max/step as published from Dynamo Studio
- Boolean Inputs: 50/50 random selection of true or false value
- Only inputs that have the “vary” checkbox selected are varied
- Up to 10 designs can be created per "Generate"
- Will not duplicate existing designs

**Like This**

- The number of inputs with the vary checkbox checked is multiplied by 0.3 and rounded down to an integer with a minimum of 1. The resulting value is the number of inputs that will be varied from their original values.
- Using the number of inputs calculated above, input values are randomly selected from the set of inputs that are available.
- Inputs are varied by +/-20%. If the initial value is close to either the min or max end the window is truncated so that the final value is within the min/max range. For example, if the min value is zero, and the current value is zero, then the value will be varied by +0% to +20%.
- For boolean inputs, the value of the input is negated to be the opposite of the current value.
- Up to10 designs can be created per "Generate" (duplicate designs will not be repeated)

**Combine Favorites**

- 2 designs are randomly chosen from favorites
- Values will be swapped from one to the other and then saved as a new combined design
- The number of inputs with the vary checkbox checked is multiplied by 0.3 and rounded down to an integer (minimum 1). The resulting value is the number of inputs that will be swapped between the 2 chosen designs.
- Using the number calculated above, inputs are randomly selected from the set of inputs that are available for swapping.
- For each input that is selected the value are swapped between the 2 chosen designs.
- Up to 10 designs can be created per "Generate" (duplicate designs will not be repeated)