# Simple Value Solver

Mode -

• Accumulate - add the Value each frame.

• Highest - if the value on the current frame is higher than this value then we keep it.

• Lowest - if the value on the current frame is lower than this value then we keep it.

• Velocity -

Value -

Fade Mode - determine whether values should remain persistent or fade back to the initial value.

• Off - don't fade values.

• Multiply by Value - on each frame, multiply values based on the Fade Value.

Fade Value - the speed at which the value will return to its initial values once the Solver is 'off' (e.g. outside a Falloff). The lower the value, the quicker the fade.

Offset - add/subtract a value to the output.

Start Frame -

Time - a default connection to the Composition's time attribute. Using a Solver to set the number of sides on a polygon.

Example usage:

1. Create a Simple Value Solver.

2. Set its Offset to 2 and set Fade Mode to Multiply by Value.

3. Right click on the Simple Value Solver's Value attribute in the Attribute Editor and add a Value Behaviour.

4. Set the Value on the Value Behaviour to 0.5.

5. Add a Falloff to the Value Behaviour.

6. Make a Polygon.

7. Connect simpleValueSolver.id > polygon.sides.

8. Select the Polygon and `alt + click` the Duplicator Shelf item.

When you drag the Falloff around the sides of the shapes under the Falloff will increase and then return to 2. As there's no such thing as a 2 sided polygon the shapes disappear. If you set the Offset on the Simple Value Solver to 3 then the shapes would be triangles (3 sided polygons) when outside of the Falloff.

In the above example we're also affecting the colour. To do this simply:

1. Create another Value Behaviour.

2. Connect simpleValueSolver.id > value.value

3. Connect value.id > polygon.materialColor.r

4. Ramp up the Strength attribute on the Value.

In this example the Value is simply being used as a multiplier to set values that have a visible effect on a range of 0-255 (the red channel).