python-lottie  0.6.11+devcecd248
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.utils.ik.Chain Class Reference

Public Member Functions

def __init__ (self, tail, fixed_tail=True, tolerance=0.5, max_iter=8)
 
def add_joint (self, point)
 
def add_joints (self, head, n)
 
def backward (self, target)
 target -> -> start More...
 
def forward (self, target)
 start -> -> tail More...
 
def reach (self, target)
 

Public Attributes

 joints
 
 fixed_tail
 
 lengths
 
 total_length
 
 tolerance
 
 max_iter
 

Detailed Description

Definition at line 5 of file ik.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.utils.ik.Chain.__init__ (   self,
  tail,
  fixed_tail = True,
  tolerance = 0.5,
  max_iter = 8 
)

Definition at line 6 of file ik.py.

Member Function Documentation

◆ add_joint()

def lottie.utils.ik.Chain.add_joint (   self,
  point 
)

Definition at line 14 of file ik.py.

◆ add_joints()

def lottie.utils.ik.Chain.add_joints (   self,
  head,
  n 
)

Definition at line 20 of file ik.py.

◆ backward()

def lottie.utils.ik.Chain.backward (   self,
  target 
)

target -> -> start

Definition at line 29 of file ik.py.

◆ forward()

def lottie.utils.ik.Chain.forward (   self,
  target 
)

start -> -> tail

Definition at line 39 of file ik.py.

◆ reach()

def lottie.utils.ik.Chain.reach (   self,
  target 
)

Definition at line 49 of file ik.py.

Member Data Documentation

◆ fixed_tail

lottie.utils.ik.Chain.fixed_tail

Definition at line 8 of file ik.py.

◆ joints

lottie.utils.ik.Chain.joints

Definition at line 7 of file ik.py.

◆ lengths

lottie.utils.ik.Chain.lengths

Definition at line 9 of file ik.py.

◆ max_iter

lottie.utils.ik.Chain.max_iter

Definition at line 12 of file ik.py.

◆ tolerance

lottie.utils.ik.Chain.tolerance

Definition at line 11 of file ik.py.

◆ total_length

lottie.utils.ik.Chain.total_length

Definition at line 10 of file ik.py.


The documentation for this class was generated from the following file: