BoolAnim Op

BoolAnim

Animate between two numbers based on a boolean value


This op allows you to create simple animations with a definable animation time and easing mode. Try combining it with the ToggleBool op.


Full Name
  • Ops.Anim.BoolAnim
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


Example Patch Bool Animation Linked

Bool anim ops can be linked together to create chained animations.

Open In Editor

INPUT PORTS


exe (Trigger)

Trigger the op

bool (Number: boolean)

Required to trigger an animation

Animation

easing index (Number: integer)
duration (Number)

How long it takes for the animation to occur

Direction index (Number: integer)

Values

value false (Number)

The value to animate to when Bool input' evaluates to false'

value true (Number)

The value to animate to when Bool input' evaluates to true'

OUTPUT PORTS


trigger (Trigger)

Trigger out

value (Number)

The current value of the animation

finished (booleanNumber)
Finished Trigger (Trigger)

Outputs a trigger when the animation has finished


Patches using BoolAnim

  • Examples
  • Public
  • My Patches