stimpy.animate package

Submodules

stimpy.animate.opacity module

class stimpy.animate.opacity.Opacity

Bases: stimpy.animate._func.Func

stimpy.animate.ori module

class stimpy.animate.ori.OriFunc

Bases: stimpy.animate._func.Func

class stimpy.animate.ori.Tangential(pos_func, dt=0.01, init_ori=0)

Bases: stimpy.animate.ori.OriFunc

stimpy.animate.phase module

class stimpy.animate.phase.PhaseFunc

Bases: stimpy.animate._func.Func

stimpy.animate.pos module

class stimpy.animate.pos.Circulating(center, size, period, init_angle, clockwise)

Bases: stimpy.animate.pos.PosFunc

Circulate in an elliptic trajectory.

Parameters
  • center (Union[float, Tuple[float, float]]) – Coordinate(s) of the center of the circulation trajectory.

  • size (Union[Callable, float, Tuple[float, float]]) – Diameter(s) of the circulation trajectory.

  • period (float) – Circulation period.

  • init_angle (float) – Initial angle in degrees. 0° is rightward to the center. Increases in counterclockwise direction.

  • clockwise (bool) – Whether to circulate in clockwise direction.

class stimpy.animate.pos.PosFunc

Bases: stimpy.animate._func.Func

stimpy.animate.size module

class stimpy.animate.size.SizeFunc

Bases: stimpy.animate._func.Func

Module contents