{
 "原理:球場座標系,一座球場住著三套座標#2": {
  "type": "cards",
  "title": "三套座標",
  "reveal": [
   0,
   1,
   1,
   2,
   3,
   3
  ],
  "cards": [
   {
    "title": "場地座標",
    "points": [
     "原點在本壘板",
     "x 左右、d 深度",
     "height 離地高度"
    ],
    "value": "單位 公尺"
   },
   {
    "title": "畫面座標",
    "points": [
     "Flame 的 position",
     "960×540 設計畫面",
     "地平線 sy 150"
    ],
    "value": "單位 邏輯像素"
   },
   {
    "title": "實體像素",
    "points": [
     "手機亮起的點",
     "3 倍螢幕 2880×1620",
     "圖片依此準備"
    ],
    "value": "單位 物理像素"
   }
  ]
 },
 "原理:球場座標系,一座球場住著三套座標#3": {
  "type": "table",
  "title": "三套座標對照",
  "reveal": [
   0,
   0,
   1,
   2
  ],
  "head": [
   "座標",
   "單位",
   "誰在用",
   "長相"
  ],
  "widths": [
   2,
   2,
   3,
   4
  ],
  "rows": [
   [
    "場地座標",
    "公尺",
    "規則、物理、AI",
    "x、d、height"
   ],
   [
    "畫面座標",
    "邏輯像素",
    "畫面、HUD、觸控",
    "sx、sy"
   ]
  ]
 },
 "原理:球場座標系,一座球場住著三套座標#4": {
  "type": "flow",
  "title": "座標怎麼轉",
  "layout": "row",
  "reveal": [
   0,
   3,
   3,
   3
  ],
  "nodes": [
   {
    "label": "場地座標",
    "sub": "公尺",
    "color": 0
   },
   {
    "label": "畫面座標",
    "sub": "邏輯像素",
    "color": 1
   },
   {
    "label": "實體像素",
    "sub": "× 裝置像素比",
    "color": 2,
    "kind": "end"
   }
  ],
  "edges": [
   [
    0,
    1,
    "投影"
   ],
   [
    1,
    2,
    "縮放"
   ]
  ]
 },
 "原理:球場座標系,一座球場住著三套座標#5": {
  "type": "cards",
  "title": "別用畫面座標算物理",
  "reveal": [
   0,
   1,
   2,
   3,
   3
  ],
  "cards": [
   {
    "title": "遠近不均勻",
    "points": [
     "10 像素約 0.3 公尺",
     "外野深處好幾公尺"
    ]
   },
   {
    "title": "換手機就壞",
    "points": [
     "16:9 與 20:9",
     "球場被拉伸或裁掉"
    ]
   },
   {
    "title": "鏡頭耦合",
    "points": [
     "追球鏡頭會平移縮放",
     "軌跡無法重現"
    ]
   }
  ]
 },
 "原理:球場座標系,一座球場住著三套座標#6": {
  "type": "flow",
  "title": "二點五 D 的作弊",
  "layout": "row",
  "reveal": [
   0,
   1,
   1,
   2,
   3,
   4
  ],
  "nodes": [
   {
    "label": "世界",
    "sub": "x、d、height",
    "color": 0
   },
   {
    "label": "投影函式",
    "sub": "場地到畫面",
    "color": 1
   },
   {
    "label": "縮放規則",
    "sub": "依距離",
    "color": 2
   },
   {
    "label": "排序規則",
    "sub": "依前後",
    "color": 3,
    "kind": "end"
   }
  ]
 },
 "觀念教學:透視與遠近縮放,遠方的球員為什麼比較矮#2": {
  "type": "flow",
  "title": "針孔投影",
  "layout": "row",
  "reveal": [
   0,
   1,
   1,
   2,
   3,
   3,
   3
  ],
  "nodes": [
   {
    "label": "空間點",
    "sub": "x、z",
    "color": 0
   },
   {
    "label": "針孔",
    "sub": "焦距 F",
    "color": 1
   },
   {
    "label": "畫面點",
    "sub": "sx、sy",
    "color": 2
   },
   {
    "label": "縮放",
    "sub": "F ÷ z",
    "color": 3,
    "kind": "end"
   }
  ],
  "edges": [
   [
    0,
    1
   ],
   [
    1,
    2
   ],
   [
    2,
    3
   ]
  ]
 },
 "觀念教學:透視與遠近縮放,遠方的球員為什麼比較矮#4": {
  "type": "table",
  "title": "示範鏡頭:第一頁",
  "reveal": [
   0,
   0,
   1,
   2
  ],
  "head": [
   "位置",
   "場地",
   "畫面",
   "px/公尺",
   "球員高"
  ],
  "widths": [
   2,
   3,
   3,
   2,
   2
  ],
  "rows": [
   [
    "本壘",
    "(0, 0)",
    "(480, 470)",
    "50.00",
    "90.0 px"
   ],
   [
    "投手板",
    "(0, 18.44)",
    "(480, 262.5)",
    "17.58",
    "31.6 px"
   ]
  ]
 },
 "觀念教學:透視與遠近縮放,遠方的球員為什麼比較矮#6": {
  "type": "line",
  "title": "示範:球員畫面高度",
  "unit": " px",
  "reveal": [
   3,
   4
  ],
  "x": [
   "本壘",
   "投手板",
   "二壘",
   "外野牆"
  ],
  "min": 0,
  "max": 100,
  "series": [
   {
    "name": "1.8 公尺球員",
    "y": [
     90,
     31.6,
     18.4,
     6.8
    ],
    "color": 1
   }
  ],
  "markers": [
   {
    "x": 3,
    "y": 6.8,
    "label": "外野牆 6.8 px",
    "at": 3
   }
  ]
 },
 "觀念教學:透視與遠近縮放,遠方的球員為什麼比較矮#7": {
  "type": "bar",
  "title": "示範:每公尺深度佔幾像素",
  "avatar": "hide",
  "unit": " px",
  "reveal": [
   0,
   0,
   4,
   4,
   4
  ],
  "labels": [
   "本壘",
   "投手板",
   "二壘",
   "外野牆"
  ],
  "values": [
   32,
   3.96,
   1.34,
   0.18
  ],
  "highlight": 0
 },
 "觀念教學:本壘後方鏡頭與構圖#3": {
  "type": "cards",
  "title": "鏡頭四旋鈕",
  "reveal": [
   0,
   4,
   4,
   4,
   4,
   4
  ],
  "cards": [
   {
    "title": "相機高度",
    "points": [
     "camHeight",
     "高:看更多外野"
    ]
   },
   {
    "title": "相機退後",
    "points": [
     "camBack",
     "大:場景更平坦"
    ]
   },
   {
    "title": "焦距",
    "points": [
     "focal",
     "大:視野變窄"
    ]
   },
   {
    "title": "地平線",
    "points": [
     "horizonY",
     "大:天空變多"
    ]
   }
  ]
 },
 "觀念教學:本壘後方鏡頭與構圖#6": {
  "type": "bar",
  "title": "示範:本壘畫面 y(畫面高 540)",
  "avatar": "hide",
  "unit": "",
  "reveal": [
   0,
   0,
   1,
   2,
   3,
   4
  ],
  "labels": [
   "高6.4 退10",
   "高3 退10",
   "高12 退10",
   "高6.4 退5"
  ],
  "values": [
   470,
   300,
   750,
   790
  ],
  "max": 900,
  "colors": [
   1,
   0,
   4,
   4
  ]
 },
 "觀念教學:背景、圖層與素材去背#3": {
  "type": "table",
  "title": "圖層表(上)",
  "avatar": "hide",
  "reveal": [
   0,
   0,
   1,
   2,
   3,
   4,
   5
  ],
  "head": [
   "層",
   "priority",
   "說明"
  ],
  "widths": [
   3,
   2,
   5
  ],
  "rows": [
   [
    "天空與看台",
    "0",
    "靜態"
   ],
   [
    "草地底圖",
    "10",
    "靜態,可預先畫成圖"
   ],
   [
    "線條與壘包",
    "20",
    "界外線、投手丘、壘包"
   ],
   [
    "陰影",
    "30",
    "必須在人物之下"
   ],
   [
    "角色與球",
    "100 + y",
    "依腳底 y 動態排序"
   ]
  ]
 },
 "觀念教學:背景、圖層與素材去背#5": {
  "type": "flow",
  "title": "每個影格 update",
  "layout": "row",
  "reveal": [
   0,
   0,
   1,
   3,
   4,
   4
  ],
  "nodes": [
   {
    "label": "場地點",
    "sub": "FieldPoint",
    "color": 0
   },
   {
    "label": "投影",
    "sub": "toScreen",
    "color": 1
   },
   {
    "label": "position",
    "sub": "畫面位置",
    "color": 2
   },
   {
    "label": "priority",
    "sub": "100 + y",
    "color": 3,
    "kind": "end"
   }
  ]
 },
 "課後重點整理:球場畫面與 2.5D 座標#6": {
  "type": "bar",
  "title": "素材記憶體",
  "unit": " MB",
  "reveal": [
   0,
   0,
   0,
   3,
   3
  ],
  "labels": [
   "288 單張",
   "864 圖集",
   "1080p 背景"
  ],
  "values": [
   0.33,
   3.0,
   8.3
  ],
  "colors": [
   0,
   1,
   4
  ]
 }
}