python-lottie  0.6.11+deved4e6c7
A framework to work with lottie files and telegram animated stickers (tgs)
animation.py File Reference

Go to the source code of this file.

Classes

class  lottie.utils.animation.PointDisplacer
 
class  lottie.utils.animation.SineDisplacer
 
class  lottie.utils.animation.MultiSineDisplacer
 
class  lottie.utils.animation.DepthRotationAxis
 
class  lottie.utils.animation.DepthRotation
 
class  lottie.utils.animation.DepthRotationDisplacer
 
class  lottie.utils.animation.EnvelopeDeformation
 
class  lottie.utils.animation.DisplacerDampener
 Given a displacer and a function that returns a factor for a point, multiplies the effect of the displacer by the factor. More...
 
class  lottie.utils.animation.FollowDisplacer
 

Namespaces

 lottie.utils.animation
 

Functions

def lottie.utils.animation.shake (position_prop, x_radius, y_radius, start_time, end_time, n_frames, interp=easing.Linear())
 
def lottie.utils.animation.rot_shake (rotation_prop, angles, start_time, end_time, n_frames)
 
def lottie.utils.animation.spring_pull (position_prop, point, start_time, end_time, falloff=15, oscillations=7)
 
def lottie.utils.animation.follow_path (position_prop, bezier, start_time, end_time, n_keyframes, reverse=False, offset=NVector(0, 0), start_t=0, rotation_prop=None, rotation_offset=0)
 
def lottie.utils.animation.generate_path_appear (bezier, appear_start, appear_end, n_keyframes, reverse=False)
 
def lottie.utils.animation.generate_path_disappear (bezier, disappear_start, disappear_end, n_keyframes, reverse=False)
 
def lottie.utils.animation.generate_path_segment (bezier, appear_start, appear_end, disappear_start, disappear_end, n_keyframes, reverse=False)