

I'm sure there are ways to do this in a pipe, but I haven't figured it out yet.

Default tweening between keyframes is usually a reasonably smooth transition, but each keyframe holds information about how the system should calculate the in-between frames. Bongo fills in the gaps between the keyframes using tweening. Then make a list of the corresponding keys, and pop it on each row under key_lists. A keyframe determines the actual value of a parameter, such as location, rotation, color, at a given tick. Then use that location on df$key to provide the key for said value. For each row, it looks for all value_lists items found within df$value. Note that your dataframe didn't seem to work for me, so I had to change it slightly to make the value_lists actually a list.įor df2, where the magic happens, I used a for loop. This doesn't use an ifelse, but this would provide the result you are looking for.
