I am trying to make a cue list that holds DMX values. I have two dictionaries:
dict1 = {'test': [0, 24, 45]}
dict2 = {'test': [24, 56, 89]}
I can do
dict1['test'] = dict2['test']
to set dict one values to equal dict2
, but this happens immediately. How can I have dict1['test']
transition to the values of dict2['test']
over a span of three seconds? In a ramping motion ie: 0, 1, 2, 3, 4, 5, 6, etc but for every value in the list.
For example, dict1['test'][0]
would be
1 sec: 8
2 sec: 16
3 sec: 24 = dict2['test'][0]
and the values would interpolate in between.
Thanks in advance!