Blend State 1D node interpolation

OS : Windows 11

RIVE editor: BETA 0.8.3877


When using the “Blend State 1D” node, interpolation between two simple animation frames on a single scale X value is incorrect.

Steps to reproduce:

  1. Create an artboard (default: 500px x 500px)

  2. Create a rectangle the size of the artboard

  3. Set the rectangle’s origin to x:0

  4. Create a view model with a Number variable

  5. Create a timeline named “min”, with a single frame setting scaleX = 0

  6. Create a timeline named “max”, with a single frame setting scaleX = 100

  7. In the State Machine, add a "Blend State 1D" node

    • In the blend node settings: disable “Capture Base State”

    • Select the Number property as the input

    • Add the “min” timeline at value 0

    • Add the “max” timeline at value 100

  8. Connect the Entry node to the Blend node

  9. Start the State Machine playback

  10. Set the Number value to 50 in the Data tab


Expected result:

The rectangle should cover half of the artboard on the X axis.

Actual result:

The interpolation is incorrect.

Since the Blend node is typically used for progress bars / health bars, this issue is problematic.