mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-12 03:10:17 +01:00
Merge branch 'feature_plugins' into feature_plugins_shader_gadgets
This commit is contained in:
@@ -49,7 +49,11 @@ class SequencePlugin(Plugin):
|
||||
]
|
||||
|
||||
def set_speed(self, speed):
|
||||
self.speed = 2.0 * (2.0*(speed-0.5))
|
||||
#self.speed = 2.0 * (2.0*(speed-0.5))
|
||||
speed = 2.0*(speed-0.5) # adjust to range -1 to +1
|
||||
negative = speed<0.0 # remember negative state cos we'll lose it in next
|
||||
self.speed = (speed * speed) * 2.0
|
||||
if negative: self.speed *= -1
|
||||
print ("automation speed is now %s" % self.speed)
|
||||
|
||||
"""def position(self, now):
|
||||
|
||||
Reference in New Issue
Block a user