Represents a joint in a skeletal system that can rotate.
def __init__(self: Any, x: int, y: int, angle: float = 0, show_joint: bool = True) -> Any
def set_position(self: Any, x: int, y: int) -> None
def set_angle(self: Any, angle: float) -> None
def get_end_position(self: Any, length: int) -> Tuple[int, int]
def render(self: Any, renderer: OpenGLRenderer, color: Tuple[int, int, int] = (255, 100, 100), radius: int = 5) -> None
Represents a bone segment that connects a joint to an endpoint.
def __init__(self: Any, joint: Joint, length: int, width: int = 3, color: Tuple[int, int, int] = (255, 255, 255)) -> Any
def _calculate_end_position(self: Any) -> None
def set_color(self: Any, color: Tuple[int, int, int]) -> None
def set_width(self: Any, width: int) -> None
def set_angle(self: Any, angle: float) -> None
def get_end_position(self: Any) -> Tuple[int, int]
def render(self: Any, renderer: OpenGLRenderer) -> None
A hierarchical skeleton system with joints and bones.
def __init__(self: Any) -> Any
def add_joint(self: Any, name: str, joint: Joint, parent_joint: Optional[str] = None) -> None
def add_bone(self: Any, name: str, bone: Bone, parent_bone: Optional[str] = None) -> None
def set_bone_angle(self: Any, name: str, angle: float) -> None
def set_bone_color(self: Any, name: str, color: Tuple[int, int, int]) -> None
def set_all_bones_color(self: Any, color: Tuple[int, int, int]) -> None
def set_bone_width(self: Any, name: str, width: int) -> None
def set_all_bones_width(self: Any, width: int) -> None
def set_joints_visible(self: Any, visible: bool) -> None
def render(self: Any, renderer: OpenGLRenderer) -> None
Human skeleton with proper rotation.
def __init__(self: Any, x: int = 400, y: int = 300, scale: float = 1.0) -> Any
def _create_skeleton(self: Any) -> Any
def _update_positions(self: Any) -> Any
Dog skeleton with proper rotation.
def __init__(self: Any, x: int = 400, y: int = 300, scale: float = 1.0) -> Any
def _create_skeleton(self: Any) -> Any
def _update_positions(self: Any) -> Any
Cat skeleton with proper rotation.
def __init__(self: Any, x: int = 400, y: int = 300, scale: float = 1.0) -> Any
def _create_skeleton(self: Any) -> Any
def _update_positions(self: Any) -> Any
Horse skeleton with proper rotation.
def __init__(self: Any, x: int = 400, y: int = 300, scale: float = 1.0) -> Any
def _create_skeleton(self: Any) -> Any
def _update_positions(self: Any) -> Any