Skip to content

LoopInfo

Base classes

Name Children Inherits
BaseModel
pydantic.main
!!! abstract "Usage Documentation"

⋔ Inheritance diagram

graph TD
  498691358["models.LoopInfo"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3879467795 --> 498691358
  2751680898 --> 3879467795

🛈 DocStrings

Bases: BaseModel

How cleanly the last frame of a cycle joins the first.

Source code in src/framesheet/models.py
class LoopInfo(BaseModel):
    """How cleanly the last frame of a cycle joins the first."""

    checked: bool
    seamless: bool | None = None
    seam_ratio: float | None = None
    """Changed-pixel share between ``t=end-epsilon`` and ``t=0``."""
    step_ratio: float | None = None
    """Changed-pixel share between ``t=0`` and ``t=epsilon`` (normal motion per step)."""
    seam_box: Rect | None = None
    detail: str

seam_ratio class-attribute instance-attribute

seam_ratio: float | None = None

Changed-pixel share between t=end-epsilon and t=0.

step_ratio class-attribute instance-attribute

step_ratio: float | None = None

Changed-pixel share between t=0 and t=epsilon (normal motion per step).

:fa-brands-github: Show source on GitHub