push
¶
Classes:
PushEffect
¶
Bases: BaseEffect
direction: >
Direction the old image is pushed towards.
Default is ``left``.
Methods:
Source code in src/movfx/effects/push.py
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | |
build_clip
¶
Source code in src/movfx/effects/base.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | |
render_frame
¶
render_frame(
img_from: ndarray, img_to: ndarray, progress: float
) -> ndarray
Source code in src/movfx/effects/push.py
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | |