mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-09 21:04:41 +08:00
Update image_nodes.py
This commit is contained in:
parent
4549812bcc
commit
f20cb4c108
@ -1285,9 +1285,9 @@ class CrossFadeImages:
|
|||||||
return 3 * t * t - 2 * t * t * t
|
return 3 * t * t - 2 * t * t * t
|
||||||
def bounce(t):
|
def bounce(t):
|
||||||
if t < 0.5:
|
if t < 0.5:
|
||||||
return self.ease_out(t * 2) * 0.5
|
return ease_out(t * 2) * 0.5
|
||||||
else:
|
else:
|
||||||
return self.ease_in((t - 0.5) * 2) * 0.5 + 0.5
|
return ease_in((t - 0.5) * 2) * 0.5 + 0.5
|
||||||
def elastic(t):
|
def elastic(t):
|
||||||
return math.sin(13 * math.pi / 2 * t) * math.pow(2, 10 * (t - 1))
|
return math.sin(13 * math.pi / 2 * t) * math.pow(2, 10 * (t - 1))
|
||||||
def glitchy(t):
|
def glitchy(t):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user