{
 "name": "tutorial-q07-three-point-angle",
 "title": "Tutorial Q-7: The angle from three points",
 "description": "Write the angle-from-three-points function, check it on the book's worked example, and apply it to every frame of a pose table to draw a runner's knee flexion stride by stride.",
 "homepage": "https://apopt.com/data/tutorials/q07-three-point-angle/",
 "licenses": [
  {
   "name": "CC BY 4.0",
   "path": "https://creativecommons.org/licenses/by/4.0/"
  }
 ],
 "created": "2026-12-03",
 "keywords": [
  "tutorial",
  "quick tutorial",
  "joint angle",
  "pose",
  "running",
  "vectors"
 ],
 "resources": [
  {
   "name": "expected-printed-output.txt",
   "path": "expected/printed-output.txt",
   "url": "https://apopt.com/data/tutorials/q07-three-point-angle/expected/printed-output.txt",
   "format": "text",
   "mediatype": "text/plain",
   "bytes": 423,
   "hash": "sha256:4fbca3fd1824f297a02a9fb798c214c7a1488e9bf2802e3cc6bad3a3365a8e64",
   "description": "Everything the tutorial prints, cell by cell"
  },
  {
   "name": "raw-form2_keypoints_yolo26s.csv",
   "path": "raw/form2_keypoints_yolo26s.csv",
   "url": "https://apopt.com/data/tutorials/q07-three-point-angle/raw/form2_keypoints_yolo26s.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 117271,
   "hash": "sha256:116f3c7a990bda4d673dfc46835201b5a620d0402aef8be9ce68d97c8d76b26f",
   "description": "a pose model's keypoint table for a side-view running clip, one row per frame (362 rows), x and y in pixels and a confidence for 17 keypoints",
   "rows": 362,
   "schema": {
    "fields": [
     {
      "name": "frame",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "nose_x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "nose_y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_eye_x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_eye_y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_eye_x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_eye_y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_ear_x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_ear_y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_ear_x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_ear_y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_shoulder_x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_shoulder_y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_shoulder_x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_shoulder_y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_elbow_x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_elbow_y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_elbow_x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_elbow_y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_wrist_x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_wrist_y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_wrist_x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_wrist_y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_hip_x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_hip_y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_hip_x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_hip_y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_knee_x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_knee_y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_knee_x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_knee_y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_ankle_x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_ankle_y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_ankle_x",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_ankle_y",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "nose_c",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_eye_c",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_eye_c",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_ear_c",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_ear_c",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_shoulder_c",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_shoulder_c",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_elbow_c",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_elbow_c",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_wrist_c",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_wrist_c",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_hip_c",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_hip_c",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_knee_c",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_knee_c",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "l_ankle_c",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "r_ankle_c",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  }
 ],
 "sources": [
  {
   "title": "Data-Driven Athletics tutorials (IRSRI, 2027)"
  }
 ]
}
