@masterbble/dsh-coo-pet 0.0.0-stage → 0.6.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (507) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +112 -2
  3. package/assets/desk-main.cjs +623 -0
  4. package/assets/desk-preload.cjs +116 -0
  5. package/assets/desk-probe.ps1 +213 -0
  6. package/assets/icon-snapshot.json +1 -0
  7. package/assets/pet/desk.html +2734 -0
  8. package/assets/pet/kit/body.js +1053 -0
  9. package/assets/pet/kit/rig.js +242 -0
  10. package/assets/pet/speech/zh.json +1 -0
  11. package/assets/pet/speech/zh.ogg +0 -0
  12. package/assets/pet/whale/feat/dizzy_eyeL.png +0 -0
  13. package/assets/pet/whale/feat/dizzy_eyeR.png +0 -0
  14. package/assets/pet/whale/feat/dizzy_mouth.png +0 -0
  15. package/assets/pet/whale/feat/drag_eyeL.png +0 -0
  16. package/assets/pet/whale/feat/drag_eyeR.png +0 -0
  17. package/assets/pet/whale/feat/drag_mouth.png +0 -0
  18. package/assets/pet/whale/feat/eyeL_ball.png +0 -0
  19. package/assets/pet/whale/feat/eyeL_hl.png +0 -0
  20. package/assets/pet/whale/feat/eyeL_iris.png +0 -0
  21. package/assets/pet/whale/feat/eyeL_lash.png +0 -0
  22. package/assets/pet/whale/feat/eyeR_ball.png +0 -0
  23. package/assets/pet/whale/feat/eyeR_hl.png +0 -0
  24. package/assets/pet/whale/feat/eyeR_iris.png +0 -0
  25. package/assets/pet/whale/feat/eyeR_lash.png +0 -0
  26. package/assets/pet/whale/feat/happy_eyeL.png +0 -0
  27. package/assets/pet/whale/feat/happy_eyeR.png +0 -0
  28. package/assets/pet/whale/feat/happy_mouth.png +0 -0
  29. package/assets/pet/whale/feat/love_eyeL.png +0 -0
  30. package/assets/pet/whale/feat/love_eyeR.png +0 -0
  31. package/assets/pet/whale/feat/love_mouth.png +0 -0
  32. package/assets/pet/whale/feat/neutral_mouth.png +0 -0
  33. package/assets/pet/whale/feat/sleep_eyeL.png +0 -0
  34. package/assets/pet/whale/feat/sleep_eyeR.png +0 -0
  35. package/assets/pet/whale/feat/sleep_mouth.png +0 -0
  36. package/assets/pet/whale/feat/surprised_eyeL.png +0 -0
  37. package/assets/pet/whale/feat/surprised_eyeR.png +0 -0
  38. package/assets/pet/whale/feat/surprised_mouth.png +0 -0
  39. package/assets/pet/whale/figure.js +948 -0
  40. package/assets/pet/whale/figure.json +997 -0
  41. package/assets/pet/whale/model.json +1710 -0
  42. package/assets/pet/whale/outfits/cape/arm_far.png +0 -0
  43. package/assets/pet/whale/outfits/cape/arm_far_end_front.png +0 -0
  44. package/assets/pet/whale/outfits/cape/arm_near.png +0 -0
  45. package/assets/pet/whale/outfits/cape/cloak.png +0 -0
  46. package/assets/pet/whale/outfits/cape/cloak_shoulder_cover.png +0 -0
  47. package/assets/pet/whale/outfits/cape/hood_back.png +0 -0
  48. package/assets/pet/whale/outfits/cape/hood_fin_far.png +0 -0
  49. package/assets/pet/whale/outfits/cape/hood_fin_near.png +0 -0
  50. package/assets/pet/whale/outfits/cape/hood_front.png +0 -0
  51. package/assets/pet/whale/outfits/cape/hood_lining.png +0 -0
  52. package/assets/pet/whale/outfits/cape/hood_tie_far.png +0 -0
  53. package/assets/pet/whale/outfits/cape/hood_tie_near.png +0 -0
  54. package/assets/pet/whale/outfits/cape/leg_back.png +0 -0
  55. package/assets/pet/whale/outfits/cape/leg_front.png +0 -0
  56. package/assets/pet/whale/outfits/cape/scarf_neck.png +0 -0
  57. package/assets/pet/whale/outfits/cape/scarf_tail_back.png +0 -0
  58. package/assets/pet/whale/outfits/cape/scarf_tail_front.png +0 -0
  59. package/assets/pet/whale/outfits/cape/skirt.png +0 -0
  60. package/assets/pet/whale/outfits/cape/skirt_sit.png +0 -0
  61. package/assets/pet/whale/outfits/cape/spout.png +0 -0
  62. package/assets/pet/whale/outfits/crew/arm_far.png +0 -0
  63. package/assets/pet/whale/outfits/crew/arm_near.png +0 -0
  64. package/assets/pet/whale/outfits/crew/bow_near.png +0 -0
  65. package/assets/pet/whale/outfits/crew/headset.png +0 -0
  66. package/assets/pet/whale/outfits/crew/leg_back.png +0 -0
  67. package/assets/pet/whale/outfits/crew/leg_front.png +0 -0
  68. package/assets/pet/whale/outfits/crew/pony_bow.png +0 -0
  69. package/assets/pet/whale/outfits/crew/skirt_shadow.png +0 -0
  70. package/assets/pet/whale/outfits/crew/torso_up.png +0 -0
  71. package/assets/pet/whale/outfits/crew/visor.png +0 -0
  72. package/assets/pet/whale/schemes/chatgpt/feat/dizzy_eyeL.png +0 -0
  73. package/assets/pet/whale/schemes/chatgpt/feat/dizzy_eyeR.png +0 -0
  74. package/assets/pet/whale/schemes/chatgpt/feat/dizzy_mouth.png +0 -0
  75. package/assets/pet/whale/schemes/chatgpt/feat/drag_eyeL.png +0 -0
  76. package/assets/pet/whale/schemes/chatgpt/feat/drag_eyeR.png +0 -0
  77. package/assets/pet/whale/schemes/chatgpt/feat/drag_mouth.png +0 -0
  78. package/assets/pet/whale/schemes/chatgpt/feat/eyeL_ball.png +0 -0
  79. package/assets/pet/whale/schemes/chatgpt/feat/eyeL_iris.png +0 -0
  80. package/assets/pet/whale/schemes/chatgpt/feat/eyeL_lash.png +0 -0
  81. package/assets/pet/whale/schemes/chatgpt/feat/eyeR_ball.png +0 -0
  82. package/assets/pet/whale/schemes/chatgpt/feat/eyeR_iris.png +0 -0
  83. package/assets/pet/whale/schemes/chatgpt/feat/eyeR_lash.png +0 -0
  84. package/assets/pet/whale/schemes/chatgpt/feat/happy_eyeL.png +0 -0
  85. package/assets/pet/whale/schemes/chatgpt/feat/happy_eyeR.png +0 -0
  86. package/assets/pet/whale/schemes/chatgpt/feat/happy_mouth.png +0 -0
  87. package/assets/pet/whale/schemes/chatgpt/feat/love_eyeL.png +0 -0
  88. package/assets/pet/whale/schemes/chatgpt/feat/love_eyeR.png +0 -0
  89. package/assets/pet/whale/schemes/chatgpt/feat/love_mouth.png +0 -0
  90. package/assets/pet/whale/schemes/chatgpt/feat/neutral_mouth.png +0 -0
  91. package/assets/pet/whale/schemes/chatgpt/feat/sleep_eyeL.png +0 -0
  92. package/assets/pet/whale/schemes/chatgpt/feat/sleep_eyeR.png +0 -0
  93. package/assets/pet/whale/schemes/chatgpt/feat/sleep_mouth.png +0 -0
  94. package/assets/pet/whale/schemes/chatgpt/feat/surprised_eyeL.png +0 -0
  95. package/assets/pet/whale/schemes/chatgpt/feat/surprised_eyeR.png +0 -0
  96. package/assets/pet/whale/schemes/chatgpt/feat/surprised_mouth.png +0 -0
  97. package/assets/pet/whale/schemes/chatgpt/tex/ahoge.png +0 -0
  98. package/assets/pet/whale/schemes/chatgpt/tex/arm_far.png +0 -0
  99. package/assets/pet/whale/schemes/chatgpt/tex/arm_far_end_front.png +0 -0
  100. package/assets/pet/whale/schemes/chatgpt/tex/arm_near.png +0 -0
  101. package/assets/pet/whale/schemes/chatgpt/tex/bangs.png +0 -0
  102. package/assets/pet/whale/schemes/chatgpt/tex/bow.png +0 -0
  103. package/assets/pet/whale/schemes/chatgpt/tex/brows.png +0 -0
  104. package/assets/pet/whale/schemes/chatgpt/tex/crew_hair_back.png +0 -0
  105. package/assets/pet/whale/schemes/chatgpt/tex/crew_ponytail.png +0 -0
  106. package/assets/pet/whale/schemes/chatgpt/tex/crew_sidelocks.png +0 -0
  107. package/assets/pet/whale/schemes/chatgpt/tex/crew_skirt.png +0 -0
  108. package/assets/pet/whale/schemes/chatgpt/tex/crew_skirt_sit.png +0 -0
  109. package/assets/pet/whale/schemes/chatgpt/tex/eye_creases.png +0 -0
  110. package/assets/pet/whale/schemes/chatgpt/tex/face.png +0 -0
  111. package/assets/pet/whale/schemes/chatgpt/tex/fin_far.png +0 -0
  112. package/assets/pet/whale/schemes/chatgpt/tex/fin_near.png +0 -0
  113. package/assets/pet/whale/schemes/chatgpt/tex/hair_back.png +0 -0
  114. package/assets/pet/whale/schemes/chatgpt/tex/hair_back_curl.png +0 -0
  115. package/assets/pet/whale/schemes/chatgpt/tex/hair_front_left.png +0 -0
  116. package/assets/pet/whale/schemes/chatgpt/tex/hair_front_right.png +0 -0
  117. package/assets/pet/whale/schemes/chatgpt/tex/headdress.png +0 -0
  118. package/assets/pet/whale/schemes/chatgpt/tex/leg_back.png +0 -0
  119. package/assets/pet/whale/schemes/chatgpt/tex/leg_front.png +0 -0
  120. package/assets/pet/whale/schemes/chatgpt/tex/sidelocks.png +0 -0
  121. package/assets/pet/whale/schemes/chatgpt/tex/skirt.png +0 -0
  122. package/assets/pet/whale/schemes/chatgpt/tex/skirt_sit.png +0 -0
  123. package/assets/pet/whale/schemes/chatgpt/tex/tail.png +0 -0
  124. package/assets/pet/whale/schemes/chatgpt/tex/torso_up.png +0 -0
  125. package/assets/pet/whale/schemes/chatgpt/tex/waist_bow_front.png +0 -0
  126. package/assets/pet/whale/schemes/chatgpt/tex/waist_bow_sit_front.png +0 -0
  127. package/assets/pet/whale/schemes/claude/feat/dizzy_eyeL.png +0 -0
  128. package/assets/pet/whale/schemes/claude/feat/dizzy_eyeR.png +0 -0
  129. package/assets/pet/whale/schemes/claude/feat/dizzy_mouth.png +0 -0
  130. package/assets/pet/whale/schemes/claude/feat/drag_eyeL.png +0 -0
  131. package/assets/pet/whale/schemes/claude/feat/drag_eyeR.png +0 -0
  132. package/assets/pet/whale/schemes/claude/feat/drag_mouth.png +0 -0
  133. package/assets/pet/whale/schemes/claude/feat/eyeL_ball.png +0 -0
  134. package/assets/pet/whale/schemes/claude/feat/eyeL_iris.png +0 -0
  135. package/assets/pet/whale/schemes/claude/feat/eyeL_lash.png +0 -0
  136. package/assets/pet/whale/schemes/claude/feat/eyeR_ball.png +0 -0
  137. package/assets/pet/whale/schemes/claude/feat/eyeR_iris.png +0 -0
  138. package/assets/pet/whale/schemes/claude/feat/eyeR_lash.png +0 -0
  139. package/assets/pet/whale/schemes/claude/feat/happy_eyeL.png +0 -0
  140. package/assets/pet/whale/schemes/claude/feat/happy_eyeR.png +0 -0
  141. package/assets/pet/whale/schemes/claude/feat/happy_mouth.png +0 -0
  142. package/assets/pet/whale/schemes/claude/feat/love_eyeL.png +0 -0
  143. package/assets/pet/whale/schemes/claude/feat/love_eyeR.png +0 -0
  144. package/assets/pet/whale/schemes/claude/feat/love_mouth.png +0 -0
  145. package/assets/pet/whale/schemes/claude/feat/neutral_mouth.png +0 -0
  146. package/assets/pet/whale/schemes/claude/feat/sleep_eyeL.png +0 -0
  147. package/assets/pet/whale/schemes/claude/feat/sleep_eyeR.png +0 -0
  148. package/assets/pet/whale/schemes/claude/feat/sleep_mouth.png +0 -0
  149. package/assets/pet/whale/schemes/claude/feat/surprised_eyeL.png +0 -0
  150. package/assets/pet/whale/schemes/claude/feat/surprised_eyeR.png +0 -0
  151. package/assets/pet/whale/schemes/claude/feat/surprised_mouth.png +0 -0
  152. package/assets/pet/whale/schemes/claude/tex/ahoge.png +0 -0
  153. package/assets/pet/whale/schemes/claude/tex/arm_far.png +0 -0
  154. package/assets/pet/whale/schemes/claude/tex/arm_far_end_front.png +0 -0
  155. package/assets/pet/whale/schemes/claude/tex/arm_near.png +0 -0
  156. package/assets/pet/whale/schemes/claude/tex/bangs.png +0 -0
  157. package/assets/pet/whale/schemes/claude/tex/bow.png +0 -0
  158. package/assets/pet/whale/schemes/claude/tex/brows.png +0 -0
  159. package/assets/pet/whale/schemes/claude/tex/crew_hair_back.png +0 -0
  160. package/assets/pet/whale/schemes/claude/tex/crew_ponytail.png +0 -0
  161. package/assets/pet/whale/schemes/claude/tex/crew_sidelocks.png +0 -0
  162. package/assets/pet/whale/schemes/claude/tex/crew_skirt.png +0 -0
  163. package/assets/pet/whale/schemes/claude/tex/crew_skirt_sit.png +0 -0
  164. package/assets/pet/whale/schemes/claude/tex/eye_creases.png +0 -0
  165. package/assets/pet/whale/schemes/claude/tex/face.png +0 -0
  166. package/assets/pet/whale/schemes/claude/tex/fin_far.png +0 -0
  167. package/assets/pet/whale/schemes/claude/tex/fin_near.png +0 -0
  168. package/assets/pet/whale/schemes/claude/tex/hair_back.png +0 -0
  169. package/assets/pet/whale/schemes/claude/tex/hair_back_curl.png +0 -0
  170. package/assets/pet/whale/schemes/claude/tex/hair_front_left.png +0 -0
  171. package/assets/pet/whale/schemes/claude/tex/hair_front_right.png +0 -0
  172. package/assets/pet/whale/schemes/claude/tex/headdress.png +0 -0
  173. package/assets/pet/whale/schemes/claude/tex/leg_back.png +0 -0
  174. package/assets/pet/whale/schemes/claude/tex/leg_front.png +0 -0
  175. package/assets/pet/whale/schemes/claude/tex/sidelocks.png +0 -0
  176. package/assets/pet/whale/schemes/claude/tex/skirt.png +0 -0
  177. package/assets/pet/whale/schemes/claude/tex/skirt_sit.png +0 -0
  178. package/assets/pet/whale/schemes/claude/tex/tail.png +0 -0
  179. package/assets/pet/whale/schemes/claude/tex/torso_up.png +0 -0
  180. package/assets/pet/whale/schemes/claude/tex/waist_bow_front.png +0 -0
  181. package/assets/pet/whale/schemes/claude/tex/waist_bow_sit_front.png +0 -0
  182. package/assets/pet/whale/schemes/gemini/feat/dizzy_eyeL.png +0 -0
  183. package/assets/pet/whale/schemes/gemini/feat/dizzy_eyeR.png +0 -0
  184. package/assets/pet/whale/schemes/gemini/feat/dizzy_mouth.png +0 -0
  185. package/assets/pet/whale/schemes/gemini/feat/drag_eyeL.png +0 -0
  186. package/assets/pet/whale/schemes/gemini/feat/drag_eyeR.png +0 -0
  187. package/assets/pet/whale/schemes/gemini/feat/drag_mouth.png +0 -0
  188. package/assets/pet/whale/schemes/gemini/feat/eyeL_ball.png +0 -0
  189. package/assets/pet/whale/schemes/gemini/feat/eyeL_iris.png +0 -0
  190. package/assets/pet/whale/schemes/gemini/feat/eyeL_lash.png +0 -0
  191. package/assets/pet/whale/schemes/gemini/feat/eyeR_ball.png +0 -0
  192. package/assets/pet/whale/schemes/gemini/feat/eyeR_iris.png +0 -0
  193. package/assets/pet/whale/schemes/gemini/feat/eyeR_lash.png +0 -0
  194. package/assets/pet/whale/schemes/gemini/feat/happy_eyeL.png +0 -0
  195. package/assets/pet/whale/schemes/gemini/feat/happy_eyeR.png +0 -0
  196. package/assets/pet/whale/schemes/gemini/feat/happy_mouth.png +0 -0
  197. package/assets/pet/whale/schemes/gemini/feat/love_eyeL.png +0 -0
  198. package/assets/pet/whale/schemes/gemini/feat/love_eyeR.png +0 -0
  199. package/assets/pet/whale/schemes/gemini/feat/love_mouth.png +0 -0
  200. package/assets/pet/whale/schemes/gemini/feat/neutral_mouth.png +0 -0
  201. package/assets/pet/whale/schemes/gemini/feat/sleep_eyeL.png +0 -0
  202. package/assets/pet/whale/schemes/gemini/feat/sleep_eyeR.png +0 -0
  203. package/assets/pet/whale/schemes/gemini/feat/sleep_mouth.png +0 -0
  204. package/assets/pet/whale/schemes/gemini/feat/surprised_eyeL.png +0 -0
  205. package/assets/pet/whale/schemes/gemini/feat/surprised_eyeR.png +0 -0
  206. package/assets/pet/whale/schemes/gemini/feat/surprised_mouth.png +0 -0
  207. package/assets/pet/whale/schemes/gemini/tex/ahoge.png +0 -0
  208. package/assets/pet/whale/schemes/gemini/tex/arm_far.png +0 -0
  209. package/assets/pet/whale/schemes/gemini/tex/arm_far_end_front.png +0 -0
  210. package/assets/pet/whale/schemes/gemini/tex/arm_near.png +0 -0
  211. package/assets/pet/whale/schemes/gemini/tex/bangs.png +0 -0
  212. package/assets/pet/whale/schemes/gemini/tex/bow.png +0 -0
  213. package/assets/pet/whale/schemes/gemini/tex/brows.png +0 -0
  214. package/assets/pet/whale/schemes/gemini/tex/crew_hair_back.png +0 -0
  215. package/assets/pet/whale/schemes/gemini/tex/crew_ponytail.png +0 -0
  216. package/assets/pet/whale/schemes/gemini/tex/crew_sidelocks.png +0 -0
  217. package/assets/pet/whale/schemes/gemini/tex/crew_skirt.png +0 -0
  218. package/assets/pet/whale/schemes/gemini/tex/crew_skirt_sit.png +0 -0
  219. package/assets/pet/whale/schemes/gemini/tex/eye_creases.png +0 -0
  220. package/assets/pet/whale/schemes/gemini/tex/face.png +0 -0
  221. package/assets/pet/whale/schemes/gemini/tex/fin_far.png +0 -0
  222. package/assets/pet/whale/schemes/gemini/tex/fin_near.png +0 -0
  223. package/assets/pet/whale/schemes/gemini/tex/hair_back.png +0 -0
  224. package/assets/pet/whale/schemes/gemini/tex/hair_back_curl.png +0 -0
  225. package/assets/pet/whale/schemes/gemini/tex/hair_front_left.png +0 -0
  226. package/assets/pet/whale/schemes/gemini/tex/hair_front_right.png +0 -0
  227. package/assets/pet/whale/schemes/gemini/tex/headdress.png +0 -0
  228. package/assets/pet/whale/schemes/gemini/tex/leg_back.png +0 -0
  229. package/assets/pet/whale/schemes/gemini/tex/leg_front.png +0 -0
  230. package/assets/pet/whale/schemes/gemini/tex/sidelocks.png +0 -0
  231. package/assets/pet/whale/schemes/gemini/tex/skirt.png +0 -0
  232. package/assets/pet/whale/schemes/gemini/tex/skirt_sit.png +0 -0
  233. package/assets/pet/whale/schemes/gemini/tex/tail.png +0 -0
  234. package/assets/pet/whale/schemes/gemini/tex/torso_up.png +0 -0
  235. package/assets/pet/whale/schemes/gemini/tex/waist_bow_front.png +0 -0
  236. package/assets/pet/whale/schemes/gemini/tex/waist_bow_sit_front.png +0 -0
  237. package/assets/pet/whale/schemes/harness/feat/dizzy_eyeL.png +0 -0
  238. package/assets/pet/whale/schemes/harness/feat/dizzy_eyeR.png +0 -0
  239. package/assets/pet/whale/schemes/harness/feat/dizzy_mouth.png +0 -0
  240. package/assets/pet/whale/schemes/harness/feat/drag_eyeL.png +0 -0
  241. package/assets/pet/whale/schemes/harness/feat/drag_eyeR.png +0 -0
  242. package/assets/pet/whale/schemes/harness/feat/drag_mouth.png +0 -0
  243. package/assets/pet/whale/schemes/harness/feat/eyeL_ball.png +0 -0
  244. package/assets/pet/whale/schemes/harness/feat/eyeL_iris.png +0 -0
  245. package/assets/pet/whale/schemes/harness/feat/eyeL_lash.png +0 -0
  246. package/assets/pet/whale/schemes/harness/feat/eyeR_ball.png +0 -0
  247. package/assets/pet/whale/schemes/harness/feat/eyeR_iris.png +0 -0
  248. package/assets/pet/whale/schemes/harness/feat/eyeR_lash.png +0 -0
  249. package/assets/pet/whale/schemes/harness/feat/happy_eyeL.png +0 -0
  250. package/assets/pet/whale/schemes/harness/feat/happy_eyeR.png +0 -0
  251. package/assets/pet/whale/schemes/harness/feat/happy_mouth.png +0 -0
  252. package/assets/pet/whale/schemes/harness/feat/love_eyeL.png +0 -0
  253. package/assets/pet/whale/schemes/harness/feat/love_eyeR.png +0 -0
  254. package/assets/pet/whale/schemes/harness/feat/love_mouth.png +0 -0
  255. package/assets/pet/whale/schemes/harness/feat/neutral_mouth.png +0 -0
  256. package/assets/pet/whale/schemes/harness/feat/sleep_eyeL.png +0 -0
  257. package/assets/pet/whale/schemes/harness/feat/sleep_eyeR.png +0 -0
  258. package/assets/pet/whale/schemes/harness/feat/sleep_mouth.png +0 -0
  259. package/assets/pet/whale/schemes/harness/feat/surprised_eyeL.png +0 -0
  260. package/assets/pet/whale/schemes/harness/feat/surprised_eyeR.png +0 -0
  261. package/assets/pet/whale/schemes/harness/feat/surprised_mouth.png +0 -0
  262. package/assets/pet/whale/schemes/harness/tex/ahoge.png +0 -0
  263. package/assets/pet/whale/schemes/harness/tex/arm_far.png +0 -0
  264. package/assets/pet/whale/schemes/harness/tex/arm_far_end_front.png +0 -0
  265. package/assets/pet/whale/schemes/harness/tex/arm_near.png +0 -0
  266. package/assets/pet/whale/schemes/harness/tex/bangs.png +0 -0
  267. package/assets/pet/whale/schemes/harness/tex/bow.png +0 -0
  268. package/assets/pet/whale/schemes/harness/tex/brows.png +0 -0
  269. package/assets/pet/whale/schemes/harness/tex/crew_hair_back.png +0 -0
  270. package/assets/pet/whale/schemes/harness/tex/crew_ponytail.png +0 -0
  271. package/assets/pet/whale/schemes/harness/tex/crew_sidelocks.png +0 -0
  272. package/assets/pet/whale/schemes/harness/tex/crew_skirt.png +0 -0
  273. package/assets/pet/whale/schemes/harness/tex/crew_skirt_sit.png +0 -0
  274. package/assets/pet/whale/schemes/harness/tex/eye_creases.png +0 -0
  275. package/assets/pet/whale/schemes/harness/tex/face.png +0 -0
  276. package/assets/pet/whale/schemes/harness/tex/fin_far.png +0 -0
  277. package/assets/pet/whale/schemes/harness/tex/fin_near.png +0 -0
  278. package/assets/pet/whale/schemes/harness/tex/hair_back.png +0 -0
  279. package/assets/pet/whale/schemes/harness/tex/hair_back_curl.png +0 -0
  280. package/assets/pet/whale/schemes/harness/tex/hair_front_left.png +0 -0
  281. package/assets/pet/whale/schemes/harness/tex/hair_front_right.png +0 -0
  282. package/assets/pet/whale/schemes/harness/tex/headdress.png +0 -0
  283. package/assets/pet/whale/schemes/harness/tex/leg_back.png +0 -0
  284. package/assets/pet/whale/schemes/harness/tex/leg_front.png +0 -0
  285. package/assets/pet/whale/schemes/harness/tex/sidelocks.png +0 -0
  286. package/assets/pet/whale/schemes/harness/tex/skirt.png +0 -0
  287. package/assets/pet/whale/schemes/harness/tex/skirt_sit.png +0 -0
  288. package/assets/pet/whale/schemes/harness/tex/tail.png +0 -0
  289. package/assets/pet/whale/schemes/harness/tex/torso_up.png +0 -0
  290. package/assets/pet/whale/schemes/harness/tex/waist_bow_front.png +0 -0
  291. package/assets/pet/whale/schemes/harness/tex/waist_bow_sit_front.png +0 -0
  292. package/assets/pet/whale/schemes/kimi/feat/dizzy_eyeL.png +0 -0
  293. package/assets/pet/whale/schemes/kimi/feat/dizzy_eyeR.png +0 -0
  294. package/assets/pet/whale/schemes/kimi/feat/dizzy_mouth.png +0 -0
  295. package/assets/pet/whale/schemes/kimi/feat/drag_eyeL.png +0 -0
  296. package/assets/pet/whale/schemes/kimi/feat/drag_eyeR.png +0 -0
  297. package/assets/pet/whale/schemes/kimi/feat/drag_mouth.png +0 -0
  298. package/assets/pet/whale/schemes/kimi/feat/eyeL_ball.png +0 -0
  299. package/assets/pet/whale/schemes/kimi/feat/eyeL_iris.png +0 -0
  300. package/assets/pet/whale/schemes/kimi/feat/eyeL_lash.png +0 -0
  301. package/assets/pet/whale/schemes/kimi/feat/eyeR_ball.png +0 -0
  302. package/assets/pet/whale/schemes/kimi/feat/eyeR_iris.png +0 -0
  303. package/assets/pet/whale/schemes/kimi/feat/eyeR_lash.png +0 -0
  304. package/assets/pet/whale/schemes/kimi/feat/happy_eyeL.png +0 -0
  305. package/assets/pet/whale/schemes/kimi/feat/happy_eyeR.png +0 -0
  306. package/assets/pet/whale/schemes/kimi/feat/happy_mouth.png +0 -0
  307. package/assets/pet/whale/schemes/kimi/feat/love_eyeL.png +0 -0
  308. package/assets/pet/whale/schemes/kimi/feat/love_eyeR.png +0 -0
  309. package/assets/pet/whale/schemes/kimi/feat/love_mouth.png +0 -0
  310. package/assets/pet/whale/schemes/kimi/feat/neutral_mouth.png +0 -0
  311. package/assets/pet/whale/schemes/kimi/feat/sleep_eyeL.png +0 -0
  312. package/assets/pet/whale/schemes/kimi/feat/sleep_eyeR.png +0 -0
  313. package/assets/pet/whale/schemes/kimi/feat/sleep_mouth.png +0 -0
  314. package/assets/pet/whale/schemes/kimi/feat/surprised_eyeL.png +0 -0
  315. package/assets/pet/whale/schemes/kimi/feat/surprised_eyeR.png +0 -0
  316. package/assets/pet/whale/schemes/kimi/feat/surprised_mouth.png +0 -0
  317. package/assets/pet/whale/schemes/kimi/tex/ahoge.png +0 -0
  318. package/assets/pet/whale/schemes/kimi/tex/arm_far.png +0 -0
  319. package/assets/pet/whale/schemes/kimi/tex/arm_far_end_front.png +0 -0
  320. package/assets/pet/whale/schemes/kimi/tex/arm_near.png +0 -0
  321. package/assets/pet/whale/schemes/kimi/tex/bangs.png +0 -0
  322. package/assets/pet/whale/schemes/kimi/tex/bow.png +0 -0
  323. package/assets/pet/whale/schemes/kimi/tex/brows.png +0 -0
  324. package/assets/pet/whale/schemes/kimi/tex/crew_hair_back.png +0 -0
  325. package/assets/pet/whale/schemes/kimi/tex/crew_ponytail.png +0 -0
  326. package/assets/pet/whale/schemes/kimi/tex/crew_sidelocks.png +0 -0
  327. package/assets/pet/whale/schemes/kimi/tex/crew_skirt.png +0 -0
  328. package/assets/pet/whale/schemes/kimi/tex/crew_skirt_sit.png +0 -0
  329. package/assets/pet/whale/schemes/kimi/tex/eye_creases.png +0 -0
  330. package/assets/pet/whale/schemes/kimi/tex/face.png +0 -0
  331. package/assets/pet/whale/schemes/kimi/tex/fin_far.png +0 -0
  332. package/assets/pet/whale/schemes/kimi/tex/fin_near.png +0 -0
  333. package/assets/pet/whale/schemes/kimi/tex/hair_back.png +0 -0
  334. package/assets/pet/whale/schemes/kimi/tex/hair_back_curl.png +0 -0
  335. package/assets/pet/whale/schemes/kimi/tex/hair_front_left.png +0 -0
  336. package/assets/pet/whale/schemes/kimi/tex/hair_front_right.png +0 -0
  337. package/assets/pet/whale/schemes/kimi/tex/headdress.png +0 -0
  338. package/assets/pet/whale/schemes/kimi/tex/leg_back.png +0 -0
  339. package/assets/pet/whale/schemes/kimi/tex/leg_front.png +0 -0
  340. package/assets/pet/whale/schemes/kimi/tex/sidelocks.png +0 -0
  341. package/assets/pet/whale/schemes/kimi/tex/skirt.png +0 -0
  342. package/assets/pet/whale/schemes/kimi/tex/skirt_sit.png +0 -0
  343. package/assets/pet/whale/schemes/kimi/tex/tail.png +0 -0
  344. package/assets/pet/whale/schemes/kimi/tex/torso_up.png +0 -0
  345. package/assets/pet/whale/schemes/kimi/tex/waist_bow_front.png +0 -0
  346. package/assets/pet/whale/schemes/kimi/tex/waist_bow_sit_front.png +0 -0
  347. package/assets/pet/whale/schemes/minimax/feat/dizzy_eyeL.png +0 -0
  348. package/assets/pet/whale/schemes/minimax/feat/dizzy_eyeR.png +0 -0
  349. package/assets/pet/whale/schemes/minimax/feat/dizzy_mouth.png +0 -0
  350. package/assets/pet/whale/schemes/minimax/feat/drag_eyeL.png +0 -0
  351. package/assets/pet/whale/schemes/minimax/feat/drag_eyeR.png +0 -0
  352. package/assets/pet/whale/schemes/minimax/feat/drag_mouth.png +0 -0
  353. package/assets/pet/whale/schemes/minimax/feat/eyeL_ball.png +0 -0
  354. package/assets/pet/whale/schemes/minimax/feat/eyeL_iris.png +0 -0
  355. package/assets/pet/whale/schemes/minimax/feat/eyeL_lash.png +0 -0
  356. package/assets/pet/whale/schemes/minimax/feat/eyeR_ball.png +0 -0
  357. package/assets/pet/whale/schemes/minimax/feat/eyeR_iris.png +0 -0
  358. package/assets/pet/whale/schemes/minimax/feat/eyeR_lash.png +0 -0
  359. package/assets/pet/whale/schemes/minimax/feat/happy_eyeL.png +0 -0
  360. package/assets/pet/whale/schemes/minimax/feat/happy_eyeR.png +0 -0
  361. package/assets/pet/whale/schemes/minimax/feat/happy_mouth.png +0 -0
  362. package/assets/pet/whale/schemes/minimax/feat/love_eyeL.png +0 -0
  363. package/assets/pet/whale/schemes/minimax/feat/love_eyeR.png +0 -0
  364. package/assets/pet/whale/schemes/minimax/feat/love_mouth.png +0 -0
  365. package/assets/pet/whale/schemes/minimax/feat/neutral_mouth.png +0 -0
  366. package/assets/pet/whale/schemes/minimax/feat/sleep_eyeL.png +0 -0
  367. package/assets/pet/whale/schemes/minimax/feat/sleep_eyeR.png +0 -0
  368. package/assets/pet/whale/schemes/minimax/feat/sleep_mouth.png +0 -0
  369. package/assets/pet/whale/schemes/minimax/feat/surprised_eyeL.png +0 -0
  370. package/assets/pet/whale/schemes/minimax/feat/surprised_eyeR.png +0 -0
  371. package/assets/pet/whale/schemes/minimax/feat/surprised_mouth.png +0 -0
  372. package/assets/pet/whale/schemes/minimax/tex/ahoge.png +0 -0
  373. package/assets/pet/whale/schemes/minimax/tex/arm_far.png +0 -0
  374. package/assets/pet/whale/schemes/minimax/tex/arm_far_end_front.png +0 -0
  375. package/assets/pet/whale/schemes/minimax/tex/arm_near.png +0 -0
  376. package/assets/pet/whale/schemes/minimax/tex/bangs.png +0 -0
  377. package/assets/pet/whale/schemes/minimax/tex/bow.png +0 -0
  378. package/assets/pet/whale/schemes/minimax/tex/brows.png +0 -0
  379. package/assets/pet/whale/schemes/minimax/tex/crew_hair_back.png +0 -0
  380. package/assets/pet/whale/schemes/minimax/tex/crew_ponytail.png +0 -0
  381. package/assets/pet/whale/schemes/minimax/tex/crew_sidelocks.png +0 -0
  382. package/assets/pet/whale/schemes/minimax/tex/crew_skirt.png +0 -0
  383. package/assets/pet/whale/schemes/minimax/tex/crew_skirt_sit.png +0 -0
  384. package/assets/pet/whale/schemes/minimax/tex/eye_creases.png +0 -0
  385. package/assets/pet/whale/schemes/minimax/tex/face.png +0 -0
  386. package/assets/pet/whale/schemes/minimax/tex/fin_far.png +0 -0
  387. package/assets/pet/whale/schemes/minimax/tex/fin_near.png +0 -0
  388. package/assets/pet/whale/schemes/minimax/tex/hair_back.png +0 -0
  389. package/assets/pet/whale/schemes/minimax/tex/hair_back_curl.png +0 -0
  390. package/assets/pet/whale/schemes/minimax/tex/hair_front_left.png +0 -0
  391. package/assets/pet/whale/schemes/minimax/tex/hair_front_right.png +0 -0
  392. package/assets/pet/whale/schemes/minimax/tex/headdress.png +0 -0
  393. package/assets/pet/whale/schemes/minimax/tex/leg_back.png +0 -0
  394. package/assets/pet/whale/schemes/minimax/tex/leg_front.png +0 -0
  395. package/assets/pet/whale/schemes/minimax/tex/sidelocks.png +0 -0
  396. package/assets/pet/whale/schemes/minimax/tex/skirt.png +0 -0
  397. package/assets/pet/whale/schemes/minimax/tex/skirt_sit.png +0 -0
  398. package/assets/pet/whale/schemes/minimax/tex/tail.png +0 -0
  399. package/assets/pet/whale/schemes/minimax/tex/torso_up.png +0 -0
  400. package/assets/pet/whale/schemes/minimax/tex/waist_bow_front.png +0 -0
  401. package/assets/pet/whale/schemes/minimax/tex/waist_bow_sit_front.png +0 -0
  402. package/assets/pet/whale/schemes/qwen/feat/dizzy_eyeL.png +0 -0
  403. package/assets/pet/whale/schemes/qwen/feat/dizzy_eyeR.png +0 -0
  404. package/assets/pet/whale/schemes/qwen/feat/dizzy_mouth.png +0 -0
  405. package/assets/pet/whale/schemes/qwen/feat/drag_eyeL.png +0 -0
  406. package/assets/pet/whale/schemes/qwen/feat/drag_eyeR.png +0 -0
  407. package/assets/pet/whale/schemes/qwen/feat/drag_mouth.png +0 -0
  408. package/assets/pet/whale/schemes/qwen/feat/eyeL_ball.png +0 -0
  409. package/assets/pet/whale/schemes/qwen/feat/eyeL_iris.png +0 -0
  410. package/assets/pet/whale/schemes/qwen/feat/eyeL_lash.png +0 -0
  411. package/assets/pet/whale/schemes/qwen/feat/eyeR_ball.png +0 -0
  412. package/assets/pet/whale/schemes/qwen/feat/eyeR_iris.png +0 -0
  413. package/assets/pet/whale/schemes/qwen/feat/eyeR_lash.png +0 -0
  414. package/assets/pet/whale/schemes/qwen/feat/happy_eyeL.png +0 -0
  415. package/assets/pet/whale/schemes/qwen/feat/happy_eyeR.png +0 -0
  416. package/assets/pet/whale/schemes/qwen/feat/happy_mouth.png +0 -0
  417. package/assets/pet/whale/schemes/qwen/feat/love_eyeL.png +0 -0
  418. package/assets/pet/whale/schemes/qwen/feat/love_eyeR.png +0 -0
  419. package/assets/pet/whale/schemes/qwen/feat/love_mouth.png +0 -0
  420. package/assets/pet/whale/schemes/qwen/feat/neutral_mouth.png +0 -0
  421. package/assets/pet/whale/schemes/qwen/feat/sleep_eyeL.png +0 -0
  422. package/assets/pet/whale/schemes/qwen/feat/sleep_eyeR.png +0 -0
  423. package/assets/pet/whale/schemes/qwen/feat/sleep_mouth.png +0 -0
  424. package/assets/pet/whale/schemes/qwen/feat/surprised_eyeL.png +0 -0
  425. package/assets/pet/whale/schemes/qwen/feat/surprised_eyeR.png +0 -0
  426. package/assets/pet/whale/schemes/qwen/feat/surprised_mouth.png +0 -0
  427. package/assets/pet/whale/schemes/qwen/tex/ahoge.png +0 -0
  428. package/assets/pet/whale/schemes/qwen/tex/arm_far.png +0 -0
  429. package/assets/pet/whale/schemes/qwen/tex/arm_far_end_front.png +0 -0
  430. package/assets/pet/whale/schemes/qwen/tex/arm_near.png +0 -0
  431. package/assets/pet/whale/schemes/qwen/tex/bangs.png +0 -0
  432. package/assets/pet/whale/schemes/qwen/tex/bow.png +0 -0
  433. package/assets/pet/whale/schemes/qwen/tex/brows.png +0 -0
  434. package/assets/pet/whale/schemes/qwen/tex/crew_hair_back.png +0 -0
  435. package/assets/pet/whale/schemes/qwen/tex/crew_ponytail.png +0 -0
  436. package/assets/pet/whale/schemes/qwen/tex/crew_sidelocks.png +0 -0
  437. package/assets/pet/whale/schemes/qwen/tex/crew_skirt.png +0 -0
  438. package/assets/pet/whale/schemes/qwen/tex/crew_skirt_sit.png +0 -0
  439. package/assets/pet/whale/schemes/qwen/tex/eye_creases.png +0 -0
  440. package/assets/pet/whale/schemes/qwen/tex/face.png +0 -0
  441. package/assets/pet/whale/schemes/qwen/tex/fin_far.png +0 -0
  442. package/assets/pet/whale/schemes/qwen/tex/fin_near.png +0 -0
  443. package/assets/pet/whale/schemes/qwen/tex/hair_back.png +0 -0
  444. package/assets/pet/whale/schemes/qwen/tex/hair_back_curl.png +0 -0
  445. package/assets/pet/whale/schemes/qwen/tex/hair_front_left.png +0 -0
  446. package/assets/pet/whale/schemes/qwen/tex/hair_front_right.png +0 -0
  447. package/assets/pet/whale/schemes/qwen/tex/headdress.png +0 -0
  448. package/assets/pet/whale/schemes/qwen/tex/leg_back.png +0 -0
  449. package/assets/pet/whale/schemes/qwen/tex/leg_front.png +0 -0
  450. package/assets/pet/whale/schemes/qwen/tex/sidelocks.png +0 -0
  451. package/assets/pet/whale/schemes/qwen/tex/skirt.png +0 -0
  452. package/assets/pet/whale/schemes/qwen/tex/skirt_sit.png +0 -0
  453. package/assets/pet/whale/schemes/qwen/tex/tail.png +0 -0
  454. package/assets/pet/whale/schemes/qwen/tex/torso_up.png +0 -0
  455. package/assets/pet/whale/schemes/qwen/tex/waist_bow_front.png +0 -0
  456. package/assets/pet/whale/schemes/qwen/tex/waist_bow_sit_front.png +0 -0
  457. package/assets/pet/whale/tex/ahoge.png +0 -0
  458. package/assets/pet/whale/tex/arm_far.png +0 -0
  459. package/assets/pet/whale/tex/arm_far_end_front.png +0 -0
  460. package/assets/pet/whale/tex/arm_near.png +0 -0
  461. package/assets/pet/whale/tex/bangs.png +0 -0
  462. package/assets/pet/whale/tex/bow.png +0 -0
  463. package/assets/pet/whale/tex/brows.png +0 -0
  464. package/assets/pet/whale/tex/crew_hair_back.png +0 -0
  465. package/assets/pet/whale/tex/crew_ponytail.png +0 -0
  466. package/assets/pet/whale/tex/crew_sidelocks.png +0 -0
  467. package/assets/pet/whale/tex/crew_skirt.png +0 -0
  468. package/assets/pet/whale/tex/crew_skirt_sit.png +0 -0
  469. package/assets/pet/whale/tex/eye_creases.png +0 -0
  470. package/assets/pet/whale/tex/face.png +0 -0
  471. package/assets/pet/whale/tex/fin_far.png +0 -0
  472. package/assets/pet/whale/tex/fin_near.png +0 -0
  473. package/assets/pet/whale/tex/hair_back.png +0 -0
  474. package/assets/pet/whale/tex/hair_back_curl.png +0 -0
  475. package/assets/pet/whale/tex/hair_front_left.png +0 -0
  476. package/assets/pet/whale/tex/hair_front_right.png +0 -0
  477. package/assets/pet/whale/tex/headdress.png +0 -0
  478. package/assets/pet/whale/tex/leg_back.png +0 -0
  479. package/assets/pet/whale/tex/leg_front.png +0 -0
  480. package/assets/pet/whale/tex/sidelocks.png +0 -0
  481. package/assets/pet/whale/tex/skirt.png +0 -0
  482. package/assets/pet/whale/tex/skirt_shadow.png +0 -0
  483. package/assets/pet/whale/tex/skirt_sit.png +0 -0
  484. package/assets/pet/whale/tex/tail.png +0 -0
  485. package/assets/pet/whale/tex/torso_up.png +0 -0
  486. package/assets/pet/whale/tex/waist_bow_front.png +0 -0
  487. package/assets/pet/whale/tex/waist_bow_sit_front.png +0 -0
  488. package/assets/pet/whale/thumbs/cape.png +0 -0
  489. package/assets/pet/whale/thumbs/chatgpt.png +0 -0
  490. package/assets/pet/whale/thumbs/claude.png +0 -0
  491. package/assets/pet/whale/thumbs/crew.png +0 -0
  492. package/assets/pet/whale/thumbs/deepseek.png +0 -0
  493. package/assets/pet/whale/thumbs/gemini.png +0 -0
  494. package/assets/pet/whale/thumbs/harness.png +0 -0
  495. package/assets/pet/whale/thumbs/kimi.png +0 -0
  496. package/assets/pet/whale/thumbs/maid.png +0 -0
  497. package/assets/pet/whale/thumbs/minimax.png +0 -0
  498. package/assets/pet/whale/thumbs/qwen.png +0 -0
  499. package/assets/restart-dsh.cmd +16 -0
  500. package/assets/restart-dsh.log +195 -0
  501. package/client.js +1169 -0
  502. package/cordis.patch.yml +3 -0
  503. package/icon.svg +8 -0
  504. package/index.js +1273 -0
  505. package/locale/en.json +6 -0
  506. package/locale/zh.json +6 -0
  507. package/package.json +50 -4
@@ -0,0 +1,242 @@
1
+ /**
2
+ * A small Live2D-like renderer: textured grid meshes (parts) hang from a tree of deformers.
3
+ *
4
+ * Every coordinate is in one rig space (the pet's logo units: facing right, ground at y=256).
5
+ * A part is a texture stretched over a box in that space, cut into a grid of quads. Each frame
6
+ * the grid's rest points run through the part's deformer chain, innermost first:
7
+ * rot – turn/scale/move about a pivot: p' = pivot + t + R(a)·S·(p − pivot)
8
+ * warp – a displacement field over a rect: p' = p + fn(u, v), u/v = p's place in the rect
9
+ * (points outside the rect take the field at the nearest edge)
10
+ * Deformers are defined in rest space too, so a child always acts before its parent.
11
+ *
12
+ * A part may carry a second texture under `<tex>@mix` (same layout): `st.mix` (0..1) crossfades to it,
13
+ * which is how a figure fades from one colour scheme to another.
14
+ * A part with `blend: 'multiply'` multiplies the colours under it (a shadow layer, see render).
15
+ */
16
+
17
+ // GLSL ES 1.00 and no vertex array objects: the same code runs on a WebGL 1 context, which some
18
+ // machines give where WebGL 2 is refused (older Macs whose GPU ANGLE drives through OpenGL)
19
+ const VS = `
20
+ attribute vec2 aPos; attribute vec2 aUv;
21
+ uniform vec4 uView; // x0, y0, 1/w, 1/h
22
+ varying vec2 vUv;
23
+ void main() {
24
+ vec2 n = (aPos - uView.xy) * uView.zw;
25
+ gl_Position = vec4(n.x * 2.0 - 1.0, 1.0 - n.y * 2.0, 0.0, 1.0);
26
+ vUv = aUv;
27
+ }`;
28
+ const FS = `
29
+ precision mediump float;
30
+ varying vec2 vUv;
31
+ uniform sampler2D uTex;
32
+ uniform sampler2D uTex2;
33
+ uniform float uMix;
34
+ uniform float uAlpha;
35
+ uniform vec4 uTint; // rgb multiply, a = mix toward it
36
+ void main() {
37
+ vec4 c = mix(texture2D(uTex, vUv), texture2D(uTex2, vUv), uMix);
38
+ c.rgb = mix(c.rgb, c.rgb * uTint.rgb, uTint.a);
39
+ gl_FragColor = c * uAlpha;
40
+ }`;
41
+
42
+ function shader(gl, type, src) {
43
+ const s = gl.createShader(type);
44
+ gl.shaderSource(s, src); gl.compileShader(s);
45
+ if (!gl.getShaderParameter(s, gl.COMPILE_STATUS)) throw new Error(gl.getShaderInfoLog(s));
46
+ return s;
47
+ }
48
+
49
+ export function createRig(canvas, model) {
50
+ // the canvas lives in an SVG foreignObject, which the browser may repaint from the canvas at any time: keep the
51
+ // drawing buffer, or a repaint between our frames shows an empty canvas (flicker, worst in screen recordings)
52
+ const attrs = { premultipliedAlpha: true, alpha: true, antialias: true, preserveDrawingBuffer: true };
53
+ const gl = canvas.getContext('webgl2', attrs) || canvas.getContext('webgl', attrs);
54
+ if (!gl) throw new Error('webgl unavailable');
55
+ // WebGL 1 builds mipmaps only for power-of-two sizes, and the textures are not
56
+ const pot = (n) => (n & (n - 1)) === 0;
57
+ const gl2 = typeof WebGL2RenderingContext !== 'undefined' && gl instanceof WebGL2RenderingContext;
58
+ const canMip = (src) => gl2 || (pot(src.width) && pot(src.height));
59
+ const defs = model.deformers;
60
+ let view = model.view; // [x0, y0, x1, y1]
61
+
62
+ // the source each texture was uploaded from: a lost context takes the GL textures with it,
63
+ // so restoring means uploading them all again from what they came from
64
+ const textures = new Map(), sources = new Map();
65
+ function upload(key, src) {
66
+ if (disposed) return null;
67
+ sources.set(key, src);
68
+ let t = textures.get(key);
69
+ if (!t) { t = gl.createTexture(); textures.set(key, t); }
70
+ gl.bindTexture(gl.TEXTURE_2D, t);
71
+ gl.pixelStorei(gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL, true);
72
+ gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, src);
73
+ const mip = canMip(src);
74
+ if (mip) gl.generateMipmap(gl.TEXTURE_2D);
75
+ gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, mip ? gl.LINEAR_MIPMAP_LINEAR : gl.LINEAR);
76
+ gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR);
77
+ gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE);
78
+ gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE);
79
+ return t;
80
+ }
81
+
82
+ // deformer chain per part, innermost first
83
+ const chainOf = id => { const c = []; for (let d = id; d; d = defs[d].parent) c.push(d); return c; };
84
+
85
+ let prog, loc, meshes = [];
86
+ let shaders = [];
87
+ /** Builds every GL resource; called again on `webglcontextrestored`, where the old ones died with the context. */
88
+ function buildGL() {
89
+ shaders = [shader(gl, gl.VERTEX_SHADER, VS), shader(gl, gl.FRAGMENT_SHADER, FS)];
90
+ prog = gl.createProgram();
91
+ for (const s of shaders) gl.attachShader(prog, s);
92
+ gl.linkProgram(prog);
93
+ if (!gl.getProgramParameter(prog, gl.LINK_STATUS)) throw new Error(gl.getProgramInfoLog(prog));
94
+ loc = {
95
+ aPos: gl.getAttribLocation(prog, 'aPos'), aUv: gl.getAttribLocation(prog, 'aUv'),
96
+ uView: gl.getUniformLocation(prog, 'uView'), uTex: gl.getUniformLocation(prog, 'uTex'),
97
+ uAlpha: gl.getUniformLocation(prog, 'uAlpha'), uTint: gl.getUniformLocation(prog, 'uTint'),
98
+ uTex2: gl.getUniformLocation(prog, 'uTex2'), uMix: gl.getUniformLocation(prog, 'uMix'),
99
+ };
100
+ // parts: rest grid, uv, index buffer; `uvBox` picks a sub-rect of the texture (atlas), default whole
101
+ meshes = model.parts.map(p => {
102
+ const [nx, ny] = p.grid || [6, 6];
103
+ const [x, y, w, h] = p.box;
104
+ const [u0, v0, u1, v1] = p.uvBox || [0, 0, 1, 1];
105
+ const rest = new Float32Array((nx + 1) * (ny + 1) * 2), uv = new Float32Array(rest.length);
106
+ let k = 0;
107
+ for (let j = 0; j <= ny; j++) for (let i = 0; i <= nx; i++) {
108
+ rest[k] = x + w * i / nx; rest[k + 1] = y + h * j / ny;
109
+ uv[k] = u0 + (u1 - u0) * i / nx; uv[k + 1] = v0 + (v1 - v0) * j / ny;
110
+ k += 2;
111
+ }
112
+ const idx = [];
113
+ for (let j = 0; j < ny; j++) for (let i = 0; i < nx; i++) {
114
+ const a = j * (nx + 1) + i, b = a + 1, c = a + nx + 1, d = c + 1;
115
+ idx.push(a, b, c, b, d, c);
116
+ }
117
+ const pos = gl.createBuffer();
118
+ gl.bindBuffer(gl.ARRAY_BUFFER, pos);
119
+ gl.bufferData(gl.ARRAY_BUFFER, rest.byteLength, gl.DYNAMIC_DRAW);
120
+ const uvb = gl.createBuffer();
121
+ gl.bindBuffer(gl.ARRAY_BUFFER, uvb);
122
+ gl.bufferData(gl.ARRAY_BUFFER, uv, gl.STATIC_DRAW);
123
+ const ib = gl.createBuffer();
124
+ gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, ib);
125
+ gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, new Uint16Array(idx), gl.STATIC_DRAW);
126
+ return { part: p, rest, out: new Float32Array(rest.length), pos, uvb, ib, count: idx.length };
127
+ });
128
+ meshes.forEach(m => { m.chain = chainOf(m.part.parent); });
129
+ gl.enableVertexAttribArray(loc.aPos);
130
+ gl.enableVertexAttribArray(loc.aUv);
131
+ }
132
+
133
+ // a lost context blanks the canvas; unless the loss is preventDefault-ed the browser never
134
+ // restores it, and it stays blank for good. On restoration every GL resource must be rebuilt
135
+ // and the textures uploaded again from their sources.
136
+ let lost = false;
137
+ canvas.addEventListener('webglcontextlost', (e) => { e.preventDefault(); lost = true; });
138
+ canvas.addEventListener('webglcontextrestored', () => {
139
+ // dispose() during a loss cannot reach WEBGL_lose_context, so the browser may still restore a disposed rig
140
+ if (disposed) return;
141
+ lost = false;
142
+ textures.clear();
143
+ buildGL();
144
+ for (const [key, src] of sources) upload(key, src);
145
+ });
146
+ buildGL();
147
+
148
+ /**
149
+ * Frees every GL resource and kills the context. Without this the browser keeps the context
150
+ * alive until GC collects the canvas, and Chromium caps live contexts per page (~16): swapping
151
+ * figures back and forth could exhaust them and leave later mounts rendering nothing.
152
+ */
153
+ let disposed = false;
154
+ function dispose() {
155
+ if (disposed) return;
156
+ disposed = true;
157
+ lost = true;
158
+ try {
159
+ for (const t of textures.values()) gl.deleteTexture(t);
160
+ for (const m of meshes) { gl.deleteBuffer(m.pos); gl.deleteBuffer(m.uvb); gl.deleteBuffer(m.ib); }
161
+ if (prog) gl.deleteProgram(prog);
162
+ for (const s of shaders) gl.deleteShader(s);
163
+ } finally {
164
+ gl.getExtension('WEBGL_lose_context')?.loseContext();
165
+ }
166
+ }
167
+
168
+ /** Moves a rest point through deformer `id` and its ancestors, with this frame's states. */
169
+ function applyChain(chain, st, x, y) {
170
+ for (const id of chain) {
171
+ const d = defs[id], s = st[id];
172
+ if (!s) continue;
173
+ if (d.kind === 'rot') {
174
+ const [px, py] = d.pivot, a = (s.a || 0) * Math.PI / 180, c = Math.cos(a), sn = Math.sin(a);
175
+ const sx = s.sx ?? s.s ?? 1, sy = s.sy ?? s.s ?? 1;
176
+ const lx = (x - px) * sx, ly = (y - py) * sy;
177
+ x = px + (s.tx || 0) + lx * c - ly * sn;
178
+ y = py + (s.ty || 0) + lx * sn + ly * c;
179
+ } else if (d.kind === 'warp' && s.fn) {
180
+ const [x0, y0, x1, y1] = d.rect;
181
+ const u = Math.min(1, Math.max(0, (x - x0) / (x1 - x0))), v = Math.min(1, Math.max(0, (y - y0) / (y1 - y0)));
182
+ const r = s.fn(u, v, x, y);
183
+ x += r[0]; y += r[1];
184
+ }
185
+ }
186
+ return [x, y];
187
+ }
188
+
189
+ function render(st, opts = {}) {
190
+ if (lost || gl.isContextLost()) return;
191
+ const W = canvas.width, H = canvas.height;
192
+ gl.viewport(0, 0, W, H);
193
+ gl.clearColor(0, 0, 0, 0);
194
+ gl.clear(gl.COLOR_BUFFER_BIT);
195
+ gl.useProgram(prog);
196
+ gl.enable(gl.BLEND);
197
+ gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA);
198
+ gl.uniform4f(loc.uView, view[0], view[1], 1 / (view[2] - view[0]), 1 / (view[3] - view[1]));
199
+ gl.uniform1i(loc.uTex, 0);
200
+ gl.uniform1i(loc.uTex2, 1);
201
+ const mixK = Math.min(1, Math.max(0, st.mix || 0));
202
+ const order = meshes.filter(m => !(opts.hidden && opts.hidden[m.part.id]))
203
+ .map(m => ({ m, z: st.z?.[m.part.id] ?? m.part.z })).sort((a, b) => a.z - b.z);
204
+ for (const { m } of order) {
205
+ const p = m.part, alpha = st.alpha?.[p.id] ?? p.alpha ?? 1;
206
+ const tex = textures.get(p.tex);
207
+ if (!tex || alpha <= 0.001) continue;
208
+ for (let i = 0; i < m.rest.length; i += 2) {
209
+ const q = applyChain(m.chain, st, m.rest[i], m.rest[i + 1]);
210
+ m.out[i] = q[0]; m.out[i + 1] = q[1];
211
+ }
212
+ gl.bindBuffer(gl.ARRAY_BUFFER, m.pos);
213
+ gl.bufferSubData(gl.ARRAY_BUFFER, 0, m.out);
214
+ gl.vertexAttribPointer(loc.aPos, 2, gl.FLOAT, false, 0, 0);
215
+ gl.bindBuffer(gl.ARRAY_BUFFER, m.uvb);
216
+ gl.vertexAttribPointer(loc.aUv, 2, gl.FLOAT, false, 0, 0);
217
+ gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, m.ib);
218
+ const tex2 = mixK > 0 ? textures.get(p.tex + '@mix') : null;
219
+ gl.activeTexture(gl.TEXTURE1);
220
+ gl.bindTexture(gl.TEXTURE_2D, tex2 || tex);
221
+ gl.activeTexture(gl.TEXTURE0);
222
+ gl.bindTexture(gl.TEXTURE_2D, tex);
223
+ gl.uniform1f(loc.uMix, tex2 ? mixK : 0);
224
+ gl.uniform1f(loc.uAlpha, alpha);
225
+ const tint = st.tint?.[p.id];
226
+ gl.uniform4f(loc.uTint, ...(tint || [1, 1, 1, 0]));
227
+ // a `multiply` part darkens what is already drawn under it and leaves the coverage alone,
228
+ // so a shadow shows only on the parts below it and never over empty canvas
229
+ if (p.blend === 'multiply') gl.blendFuncSeparate(gl.DST_COLOR, gl.ONE_MINUS_SRC_ALPHA, gl.ZERO, gl.ONE);
230
+ gl.drawElements(gl.TRIANGLES, m.count, gl.UNSIGNED_SHORT, 0);
231
+ if (p.blend === 'multiply') gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA);
232
+ }
233
+ }
234
+
235
+ return {
236
+ gl, upload, render, dispose,
237
+ /** Where a rest point lands this frame (for overlays and hit tests). */
238
+ point(deformer, st, x, y) { return applyChain(chainOf(deformer), st, x, y); },
239
+ setView(v) { view = v; },
240
+ get view() { return view; },
241
+ };
242
+ }
@@ -0,0 +1 @@
1
+ {"hz":364,"units":{"a":[0.06,0.1149],"ai":[0.2349,0.1149],"an":[0.4098,0.115],"ang":[0.5848,0.1149],"ao":[0.7597,0.1149],"ba":[0.9346,0.1148],"bai":[1.1094,0.1145],"ban":[1.2839,0.1148],"bang":[1.4586,0.1143],"bao":[1.633,0.1147],"bei":[1.8077,0.1145],"ben":[1.9822,0.1148],"beng":[2.157,0.1147],"bi":[2.3317,0.1146],"bian":[2.5064,0.1149],"biao":[2.6813,0.1149],"bie":[2.8562,0.1149],"bin":[3.0311,0.1149],"bing":[3.206,0.1147],"bo":[3.3807,0.115],"bu":[3.5557,0.1148],"ca":[3.7305,0.1149],"cai":[3.9053,0.1148],"can":[4.0801,0.115],"cang":[4.2552,0.1149],"cao":[4.4301,0.1149],"ce":[4.6049,0.115],"cen":[4.78,0.115],"ceng":[4.955,0.115],"cha":[5.1301,0.1148],"chai":[5.3049,0.115],"chan":[5.4799,0.115],"chang":[5.655,0.1148],"chao":[5.8298,0.1148],"che":[6.0045,0.1148],"chen":[6.1793,0.115],"cheng":[6.3543,0.1147],"chi":[6.529,0.114],"chong":[6.703,0.1149],"chou":[6.8779,0.1149],"chu":[7.0528,0.1145],"chua":[7.2273,0.105],"chuai":[7.3923,0.115],"chuan":[7.5674,0.115],"chuang":[7.7424,0.1148],"chui":[7.9172,0.1148],"chun":[8.092,0.1149],"chuo":[8.2669,0.1147],"ci":[8.4416,0.115],"cong":[8.6166,0.115],"cou":[8.7917,0.1145],"cu":[8.9661,0.1146],"cuan":[9.1408,0.115],"cui":[9.3158,0.1148],"cun":[9.4906,0.115],"cuo":[9.6656,0.115],"da":[9.8407,0.1145],"dai":[10.0152,0.1149],"dan":[10.1901,0.1144],"dang":[10.3645,0.1143],"dao":[10.5389,0.1149],"de":[10.7138,0.115],"den":[10.8887,0.1148],"deng":[11.0635,0.1149],"di":[11.2384,0.1148],"dian":[11.4132,0.1149],"diao":[11.5881,0.1149],"die":[11.763,0.1149],"ding":[11.938,0.1147],"diu":[12.1126,0.1149],"dong":[12.2875,0.1146],"dou":[12.4621,0.1149],"du":[12.637,0.1147],"duan":[12.8117,0.1147],"dui":[12.9864,0.1149],"dun":[13.1614,0.1149],"duo":[13.3362,0.1149],"e":[13.5111,0.115],"ei":[13.6861,0.1149],"en":[13.861,0.1148],"eng":[14.0358,0.1149],"er":[14.2106,0.1146],"fa":[14.3853,0.115],"fan":[14.5602,0.115],"fang":[14.7353,0.1149],"fei":[14.9102,0.1149],"fen":[15.0851,0.1149],"feng":[15.26,0.1149],"fiao":[15.435,0.1148],"fo":[15.6097,0.115],"fou":[15.7848,0.1149],"fu":[15.9596,0.114],"ga":[16.1336,0.115],"gai":[16.3086,0.1146],"gan":[16.4832,0.1146],"gang":[16.6578,0.1148],"gao":[16.8325,0.1147],"ge":[17.0073,0.115],"gei":[17.1823,0.115],"gen":[17.3573,0.1147],"geng":[17.532,0.115],"gong":[17.707,0.115],"gou":[17.8819,0.1149],"gu":[18.0568,0.1149],"gua":[18.2317,0.115],"guai":[18.4067,0.1149],"guan":[18.5816,0.115],"guang":[18.7567,0.115],"gui":[18.9317,0.115],"gun":[19.1066,0.115],"guo":[19.2817,0.115],"ha":[19.4567,0.115],"hai":[19.6318,0.115],"han":[19.8068,0.115],"hang":[19.9819,0.115],"hao":[20.1569,0.115],"he":[20.3319,0.1149],"hei":[20.5068,0.1149],"hen":[20.6817,0.115],"heng":[20.8568,0.115],"hong":[21.0318,0.115],"hou":[21.2069,0.115],"hu":[21.3819,0.1145],"hua":[21.5564,0.115],"huai":[21.7314,0.115],"huan":[21.9064,0.1149],"huang":[22.0812,0.1149],"hui":[22.2562,0.1147],"hun":[22.4309,0.1149],"huo":[22.6057,0.115],"ji":[22.7808,0.1146],"jia":[22.9554,0.1149],"jian":[23.1303,0.115],"jiang":[23.3053,0.115],"jiao":[23.4802,0.115],"jie":[23.6553,0.1148],"jin":[23.8301,0.1145],"jing":[24.0046,0.1145],"jiong":[24.1792,0.115],"jiu":[24.3542,0.115],"ju":[24.5293,0.1144],"juan":[24.7036,0.1149],"jue":[24.8785,0.1147],"jun":[25.0532,0.1147],"ka":[25.2279,0.115],"kai":[25.4029,0.1147],"kan":[25.5776,0.115],"kang":[25.7526,0.115],"kao":[25.9277,0.115],"ke":[26.1027,0.1146],"ken":[26.2774,0.115],"keng":[26.4524,0.115],"kong":[26.6274,0.1149],"kou":[26.8023,0.115],"ku":[26.9774,0.115],"kua":[27.1524,0.115],"kuai":[27.3274,0.1145],"kuan":[27.5019,0.115],"kuang":[27.6769,0.1147],"kui":[27.8516,0.1148],"kun":[28.0264,0.115],"kuo":[28.2015,0.1149],"la":[28.3764,0.1148],"lai":[28.5512,0.1148],"lan":[28.726,0.1148],"lang":[28.9009,0.1148],"lao":[29.0756,0.1148],"le":[29.2504,0.1148],"lei":[29.4252,0.1148],"leng":[29.6001,0.1148],"li":[29.7749,0.1148],"lia":[29.9497,0.1148],"lian":[30.1245,0.1149],"liang":[30.2994,0.1148],"liao":[30.4742,0.1149],"lie":[30.6491,0.1148],"lin":[30.8239,0.1149],"ling":[30.9987,0.1148],"liu":[31.1736,0.1148],"lo":[31.3484,0.1148],"long":[31.5232,0.1148],"lou":[31.6981,0.1148],"lu":[31.8729,0.1148],"luan":[32.0477,0.1148],"lun":[32.2225,0.1148],"luo":[32.3973,0.1148],"lv":[32.5721,0.1149],"lve":[32.747,0.1148],"ma":[32.9218,0.1148],"mai":[33.0966,0.1148],"man":[33.2714,0.1148],"mang":[33.4463,0.1148],"mao":[33.6211,0.1148],"me":[33.7959,0.1148],"mei":[33.9707,0.1148],"men":[34.1455,0.1148],"meng":[34.3203,0.1148],"mi":[34.4951,0.1148],"mian":[34.6699,0.1148],"miao":[34.8447,0.1148],"mie":[35.0195,0.1148],"min":[35.1943,0.1148],"ming":[35.3691,0.1148],"miu":[35.5439,0.1148],"mo":[35.7187,0.1148],"mou":[35.8935,0.1148],"mu":[36.0683,0.1148],"na":[36.2431,0.1148],"nai":[36.418,0.1148],"nan":[36.5928,0.1148],"nang":[36.7676,0.1148],"nao":[36.9424,0.1148],"ne":[37.1172,0.1146],"nei":[37.2919,0.1148],"nen":[37.4667,0.1148],"neng":[37.6415,0.1148],"ni":[37.8163,0.1148],"nian":[37.9911,0.1148],"niang":[38.166,0.1148],"niao":[38.3408,0.1148],"nie":[38.5156,0.1148],"nin":[38.6904,0.1148],"ning":[38.8652,0.1148],"niu":[39.04,0.1148],"nong":[39.2149,0.1148],"nou":[39.3897,0.1148],"nu":[39.5645,0.1148],"nuan":[39.7393,0.1148],"nun":[39.9141,0.1148],"nuo":[40.0889,0.1148],"nv":[40.2638,0.1148],"nve":[40.4385,0.1148],"o":[40.6134,0.1149],"ou":[40.7883,0.1148],"pa":[40.9631,0.1147],"pai":[41.1378,0.115],"pan":[41.3129,0.1148],"pang":[41.4876,0.1146],"pao":[41.6622,0.1148],"pei":[41.837,0.1144],"pen":[42.0114,0.1148],"peng":[42.1861,0.115],"pi":[42.3611,0.1145],"pian":[42.5356,0.115],"piao":[42.7106,0.115],"pie":[42.8857,0.1149],"pin":[43.0606,0.115],"ping":[43.2357,0.1146],"po":[43.4103,0.115],"pou":[43.5853,0.115],"pu":[43.7604,0.115],"qi":[43.9354,0.1144],"qia":[44.1098,0.115],"qian":[44.2848,0.115],"qiang":[44.4599,0.1148],"qiao":[44.6347,0.115],"qie":[44.8096,0.1145],"qin":[44.9841,0.1145],"qing":[45.1586,0.1146],"qiong":[45.3333,0.115],"qiu":[45.5083,0.1149],"qu":[45.6832,0.115],"quan":[45.8583,0.115],"que":[46.0333,0.115],"qun":[46.2084,0.115],"ran":[46.3834,0.115],"rang":[46.5585,0.1149],"rao":[46.7334,0.1148],"re":[46.9082,0.1149],"ren":[47.0831,0.1148],"reng":[47.2579,0.1148],"ri":[47.4327,0.1148],"rong":[47.6075,0.1148],"rou":[47.7823,0.115],"ru":[47.9574,0.115],"rua":[48.1324,0.115],"ruan":[48.3075,0.115],"rui":[48.4825,0.115],"run":[48.6575,0.115],"ruo":[48.8325,0.115],"sa":[49.0076,0.115],"sai":[49.1826,0.1149],"san":[49.3575,0.115],"sang":[49.5326,0.1148],"sao":[49.7074,0.115],"se":[49.8824,0.115],"sen":[50.0574,0.115],"seng":[50.2325,0.115],"sha":[50.4075,0.1149],"shai":[50.5824,0.115],"shan":[50.7575,0.115],"shang":[50.9325,0.1149],"shao":[51.1075,0.1149],"she":[51.2824,0.1148],"shen":[51.4572,0.1144],"sheng":[51.6316,0.1149],"shi":[51.8065,0.1143],"shou":[51.9808,0.115],"shu":[52.1557,0.1144],"shua":[52.3301,0.1146],"shuai":[52.5047,0.1148],"shuan":[52.6795,0.1148],"shuang":[52.8543,0.1146],"shui":[53.0289,0.1145],"shun":[53.2035,0.1149],"shuo":[53.3783,0.1145],"si":[53.5529,0.11],"song":[53.7229,0.1149],"sou":[53.8978,0.1149],"su":[54.0727,0.1147],"suan":[54.2474,0.115],"sui":[54.4225,0.1149],"sun":[54.5974,0.115],"suo":[54.7725,0.1147],"ta":[54.9471,0.115],"tai":[55.1222,0.115],"tan":[55.2972,0.1149],"tang":[55.4721,0.115],"tao":[55.6471,0.1145],"te":[55.8217,0.115],"teng":[55.9967,0.115],"ti":[56.1718,0.1145],"tian":[56.3462,0.115],"tiao":[56.5213,0.115],"tie":[56.6963,0.115],"ting":[56.8714,0.1148],"tong":[57.0462,0.1149],"tou":[57.221,0.1149],"tu":[57.396,0.1148],"tuan":[57.5708,0.115],"tui":[57.7458,0.1146],"tun":[57.9205,0.115],"tuo":[58.0955,0.1149],"wa":[58.2704,0.1149],"wai":[58.4453,0.1148],"wan":[58.62,0.1149],"wang":[58.795,0.1149],"wei":[58.9699,0.1149],"wen":[59.1447,0.1149],"weng":[59.3196,0.1148],"wo":[59.4943,0.1149],"wu":[59.6692,0.1148],"xi":[59.844,0.1148],"xia":[60.0187,0.1149],"xian":[60.1937,0.1149],"xiang":[60.3686,0.1149],"xiao":[60.5435,0.115],"xie":[60.7185,0.1148],"xin":[60.8934,0.115],"xing":[61.0684,0.1147],"xiong":[61.2431,0.1148],"xiu":[61.4178,0.115],"xu":[61.5928,0.105],"xuan":[61.7578,0.1148],"xue":[61.9326,0.1149],"xun":[62.1075,0.1146],"ya":[62.2821,0.1148],"yan":[62.4569,0.1149],"yang":[62.6319,0.1148],"yao":[62.8067,0.1148],"ye":[62.9815,0.1149],"yi":[63.1564,0.1149],"yin":[63.3312,0.115],"ying":[63.5062,0.1149],"yo":[63.6811,0.1148],"yong":[63.8559,0.1148],"you":[64.0308,0.1148],"yu":[64.2056,0.1146],"yuan":[64.3802,0.1148],"yue":[64.555,0.1148],"yun":[64.7298,0.1148],"za":[64.9046,0.115],"zai":[65.0796,0.115],"zan":[65.2546,0.115],"zang":[65.4297,0.1149],"zao":[65.6046,0.1149],"ze":[65.7795,0.115],"zei":[65.9545,0.1149],"zen":[66.1294,0.1148],"zeng":[66.3042,0.115],"zha":[66.4793,0.1148],"zhai":[66.654,0.1149],"zhan":[66.829,0.115],"zhang":[67.0039,0.1149],"zhao":[67.1788,0.115],"zhe":[67.3539,0.115],"zhen":[67.5289,0.1149],"zheng":[67.7038,0.1149],"zhi":[67.8788,0.114],"zhong":[68.0528,0.1148],"zhou":[68.2276,0.115],"zhu":[68.4026,0.1147],"zhua":[68.5773,0.1149],"zhuai":[68.7522,0.1146],"zhuan":[68.9268,0.1149],"zhuang":[69.1018,0.1149],"zhui":[69.2767,0.115],"zhun":[69.4517,0.1148],"zhuo":[69.6264,0.115],"zi":[69.8015,0.1148],"zong":[69.9762,0.1148],"zou":[70.151,0.115],"zu":[70.3261,0.115],"zuan":[70.5011,0.115],"zui":[70.6761,0.115],"zun":[70.8511,0.115],"zuo":[71.0262,0.115]}}
Binary file