{"id":603,"date":"2025-12-07T10:14:26","date_gmt":"2025-12-07T02:14:26","guid":{"rendered":"https:\/\/www.52runoob.com\/?p=603"},"modified":"2025-12-07T10:14:26","modified_gmt":"2025-12-07T02:14:26","slug":"tween-js%e4%bd%bf%e7%94%a8%e6%8c%87%e5%8d%97%e4%b8%8e%e8%af%a6%e8%a7%a3%e6%9c%80%e6%96%b0%e6%8e%a8%e8%8d%90","status":"publish","type":"post","link":"https:\/\/www.52runoob.com\/index.php\/2025\/12\/07\/tween-js%e4%bd%bf%e7%94%a8%e6%8c%87%e5%8d%97%e4%b8%8e%e8%af%a6%e8%a7%a3%e6%9c%80%e6%96%b0%e6%8e%a8%e8%8d%90\/","title":{"rendered":"Tween.js\u4f7f\u7528\u6307\u5357\u4e0e\u8be6\u89e3(\u6700\u65b0\u63a8\u8350)"},"content":{"rendered":"\n<p>\u4e0b\u9762\u7ed9\u4f60\u4e00\u4efd <strong>\u6700\u65b0\u6574\u7406\uff082025\u7248\uff09\u7684 Tween.js \u4f7f\u7528\u6307\u5357\u4e0e\u8be6\u89e3<\/strong>\uff0c\u4ece\u57fa\u7840\u5230\u9ad8\u7ea7\u5168\u90e8\u8986\u76d6\uff0c\u7ed3\u6784\u6e05\u6670\u3001\u53ef\u76f4\u63a5\u4f5c\u4e3a\u9879\u76ee\u6587\u6863\u6216\u5b66\u4e60\u7b14\u8bb0\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83c\udfaf \u4ec0\u4e48\u662f Tween.js\uff1f<\/h1>\n\n\n\n<p>Tween.js \u662f\u4e00\u4e2a\u8f7b\u91cf\u3001\u5f3a\u5927\u3001\u72ec\u7acb\u7684\u7f13\u52a8\u52a8\u753b\u5e93\uff0c\u901a\u8fc7 <strong>\u8865\u95f4\uff08Tween\uff09\u65b9\u5f0f\u5e73\u6ed1\u6539\u53d8\u4efb\u610f\u6570\u503c<\/strong>\u3002<\/p>\n\n\n\n<p>\u53ef\u7528\u4e8e\uff1a<\/p>\n\n\n\n<p>\u2714 \u4f4d\u7f6e\u79fb\u52a8<br>\u2714 \u900f\u660e\u5ea6\u53d8\u5316<br>\u2714 \u7f29\u653e\u65cb\u8f6c<br>\u2714 \u989c\u8272\u6e10\u53d8<br>\u2714 \u590d\u6742\u52a8\u753b\u5e8f\u5217<br>\u2714 Three.js\u3001Canvas\u3001\u5c0f\u6e38\u620f\u3001H5 \u52a8\u753b<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\udce6 \u4e00\u3001\u5b89\u88c5\u4e0e\u5f15\u5165<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">1. npm \u73af\u5883<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnpm install @tweenjs\/tween.js\n\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport * as TWEEN from &#039;@tweenjs\/tween.js&#039;;\n\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">2. script \u5f15\u5165\uff08CDN\uff09<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;script src=&quot;https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/tween.js\/20.0.0\/tween.umd.js&quot;&gt;&amp;lt;\/script&gt;\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83e\udde9 \u4e8c\u3001\u4f7f\u7528\u57fa\u672c\u7ed3\u6784\uff08\u6700\u6838\u5fc3\uff09<\/h1>\n\n\n\n<p>Tween.js \u7684\u52a8\u753b\u7531\u4e09\u90e8\u5206\u7ec4\u6210\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u521d\u59cb\u72b6\u6001<\/strong>\uff08\u8d77\u70b9\uff09<\/li>\n\n\n\n<li><strong>\u76ee\u6807\u72b6\u6001<\/strong>\uff08\u7ec8\u70b9\uff09<\/li>\n\n\n\n<li><strong>\u52a8\u753b\u5faa\u73af\u66f4\u65b0<\/strong><\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u2705 \u57fa\u7840\u793a\u4f8b\uff1a\u8ba9\u4e00\u4e2a\u5bf9\u8c61 x \u4ece 0 \u2192 100<\/h1>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nconst obj = { x: 0 };\n\nconst tween = new TWEEN.Tween(obj)\n  .to({ x: 100 }, 1000) \/\/ 1000ms\n  .start();\n\n<\/pre><\/div>\n\n\n<p>\u7136\u540e\u5728\u4f60\u7684\u6e32\u67d3\u5faa\u73af\u4e2d\uff08requestAnimationFrame\uff09\u8c03\u7528\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nfunction animate(time) {\n  requestAnimationFrame(animate);\n  TWEEN.update(time);\n}\nanimate();\n\n<\/pre><\/div>\n\n\n<p>\ud83d\udccc <strong>\u6ce8\u610f\uff1a\u6ca1\u6709 TWEEN.update()\uff0c\u52a8\u753b\u4e0d\u4f1a\u52a8\u3002<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83e\udde9 \u4e09\u3001\u5e38\u7528\u914d\u7f6e\u65b9\u6cd5<\/h1>\n\n\n\n<p>\u4e0b\u9762\u662f Tween.js \u6700\u5e38\u7528\u7684\u94fe\u5f0f API\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnew TWEEN.Tween(obj)\n  .to({ ... }, duration)\n  .easing(TWEEN.Easing.Quadratic.Out)\n  .delay(500)\n  .repeat(3)\n  .yoyo(true)\n  .chain(nextTween)\n  .onStart(() =&gt; {})\n  .onUpdate(() =&gt; {})\n  .onComplete(() =&gt; {})\n  .start();\n\n<\/pre><\/div>\n\n\n<p>\u4e0b\u9762\u4e3a\u4f60\u9010\u4e00\u8bf4\u660e\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83e\uddee \u56db\u3001Easing\uff08\u7f13\u52a8\u51fd\u6570\uff09<\/h1>\n\n\n\n<p>Tween.js \u5185\u542b\u51e0\u5341\u79cd\u5e38\u7528\u7f13\u52a8\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nTWEEN.Easing.Linear.None\nTWEEN.Easing.Quadratic.In\nTWEEN.Easing.Quadratic.Out\nTWEEN.Easing.Quadratic.InOut\nTWEEN.Easing.Cubic.InOut\nTWEEN.Easing.Elastic.Out\nTWEEN.Easing.Bounce.Out\n\n<\/pre><\/div>\n\n\n<p>\u793a\u4f8b\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ntween.easing(TWEEN.Easing.Cubic.Out)\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u23f1 \u4e94\u3001delay \/ repeat \/ yoyo\uff08\u91cd\u590d\u64ad\u653e\uff09<\/h1>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u5ef6\u8fdf 500ms<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ntween.delay(500);\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">2. \u91cd\u590d 3 \u6b21<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ntween.repeat(3);\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">3. yoyo\uff1a\u53cd\u5411\u64ad\u653e\uff08\u6765\u56de\u52a8\uff09<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ntween.yoyo(true);\n\n<\/pre><\/div>\n\n\n<p>\ud83d\udccc yoyo \u5fc5\u987b\u914d\u5408 repeat \u4f7f\u7528\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\udd17 \u516d\u3001Tween \u94fe\u63a5\uff08chain\uff09<\/h1>\n\n\n\n<p>\u53ef\u505a\u5e8f\u5217\u52a8\u753b\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ntween1.chain(tween2);\ntween2.chain(tween3);\n\n<\/pre><\/div>\n\n\n<p>\u793a\u4f8b\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ntween1\n  .to({ x: 100 }, 1000);\n\ntween2\n  .to({ x: 0 }, 1000);\n\ntween1.chain(tween2);\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83e\udde8 \u4e03\u3001\u5b8c\u6574\u793a\u4f8b\uff1a\u79fb\u52a8\u4e00\u4e2a DOM \u5143\u7d20<\/h1>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nconst box = document.getElementById(&quot;box&quot;);\n\nconst state = { x: 0 };\n\nnew TWEEN.Tween(state)\n  .to({ x: 300 }, 1000)\n  .easing(TWEEN.Easing.Quadratic.Out)\n  .onUpdate(() =&gt; {\n    box.style.transform = `translateX(${state.x}px)`;\n  })\n  .start();\n\nfunction animate(time) {\n  requestAnimationFrame(animate);\n  TWEEN.update(time);\n}\nanimate();\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83c\udfa8 \u516b\u3001\u989c\u8272\u52a8\u753b\uff08RGB \u52a8\u753b\uff09<\/h1>\n\n\n\n<p>Tween.js \u4e0d\u652f\u6301\u989c\u8272\uff0c\u9700\u8981\u81ea\u5df1\u62c6\u5206 RGB\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nconst color = { r: 255, g: 0, b: 0 };\n\nnew TWEEN.Tween(color)\n  .to({ r: 0, g: 255, b: 0 }, 1000)\n  .onUpdate(() =&gt; {\n    box.style.background = `rgb(${color.r}, ${color.g}, ${color.b})`;\n  })\n  .start();\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83e\udde9 \u4e5d\u3001Three.js \u7ed3\u5408 Tween.js\uff08\u5b98\u65b9\u5f3a\u63a8\uff09<\/h1>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nconst mesh = new THREE.Mesh(...);\nmesh.position.set(0, 0, 0);\n\nnew TWEEN.Tween(mesh.position)\n  .to({ x: 5, y: 2, z: -3 }, 1500)\n  .easing(TWEEN.Easing.Cubic.Out)\n  .start();\n\n<\/pre><\/div>\n\n\n<p>\u2b50 \u63a8\u8350\uff1aThree.js \u7684\u8fd0\u52a8\u5c3d\u91cf\u4f7f\u7528 Tween.js\uff0c\u6bd4\u81ea\u5199\u63d2\u503c\u66f4\u8212\u670d\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83e\udde0 \u5341\u3001\u591a\u4e2a Tween \u540c\u65f6\u8fd0\u884c\uff08Group\uff09<\/h1>\n\n\n\n<p>\u6bcf\u4e2a Group \u72ec\u7acb\u66f4\u65b0\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nconst group = new TWEEN.Group();\n\nconst tween = new TWEEN.Tween(obj, group)\n  .to({ x: 200 }, 1000)\n  .start();\n\nfunction animate(time) {\n  requestAnimationFrame(animate);\n  group.update(time);\n}\nanimate();\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\udea6 \u5341\u4e00\u3001\u6682\u505c\u4e0e\u6062\u590d\u52a8\u753b<\/h1>\n\n\n\n<p>Tween.js \u6ca1\u6709\u76f4\u63a5 pause \u65b9\u6cd5\uff0c\u4f46\u53ef\u4ee5\u901a\u8fc7 stop\/start \u5b9e\u73b0\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u6682\u505c<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ntween.stop();\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u6062\u590d<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ntween.start();\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\udd25 \u5341\u4e8c\u3001\u5e38\u89c1\u95ee\u9898\u4e0e\u6ce8\u610f\u4e8b\u9879\uff08\u975e\u5e38\u91cd\u8981\uff09<\/h1>\n\n\n\n<h3 class=\"wp-block-heading\">\u2757 1. \u5fd8\u4e86\u8c03\u7528 TWEEN.update()<\/h3>\n\n\n\n<p>\u52a8\u753b\u4e0d\u52a8\u7684 95% \u539f\u56e0\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u2757 2. \u52a8\u753b\u5bf9\u8c61\u5fc5\u987b\u662f\u6570\u503c<\/h3>\n\n\n\n<p>\u4e0d\u80fd tween \u5b57\u7b26\u4e32\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{ x: &quot;100px&quot; } \/\/ \u274c\n\n<\/pre><\/div>\n\n\n<p>\u9700\u8981\u81ea\u5df1\u89e3\u6790\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u2757 3. \u5bf9\u8c61\u5f15\u7528\u8981\u4e00\u81f4<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nconst obj = { x: 0 };\nnew TWEEN.Tween(obj) \/\/ \u2714 \u6b63\u786e\n\n<\/pre><\/div>\n\n\n<p>\u4e0d\u53ef\u4f20\u5b57\u9762\u91cf\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnew TWEEN.Tween({ x: 0 }) \/\/ \u274c \u52a8\u753b\u4e0d\u4f1a\u66f4\u65b0\u5230\u5916\u90e8\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83c\udf81 \u5341\u4e09\u3001\u7ec8\u6781\u6a21\u677f\uff1a\u5c01\u88c5\u4e00\u4e2a Tween \u52a8\u753b\u51fd\u6570\uff08\u63a8\u8350\u9879\u76ee\u4e2d\u4f7f\u7528\uff09<\/h1>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nfunction tweenTo(obj, target, duration = 1000, easing = TWEEN.Easing.Quadratic.Out) {\n  return new TWEEN.Tween(obj)\n    .to(target, duration)\n    .easing(easing)\n    .start();\n}\n\n<\/pre><\/div>\n\n\n<p>\u4f7f\u7528\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ntweenTo(boxStyle, { x: 500, y: 200 }, 1000);\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\udcda \u5341\u56db\u3001\u9644\uff1aTween.js \u6700\u5e38\u7528 Easing \u901f\u67e5\u8868<\/h1>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u7c7b\u522b<\/th><th>\u65b9\u6cd5<\/th><\/tr><\/thead><tbody><tr><td>Linear<\/td><td>Linear.None<\/td><\/tr><tr><td>Quadratic<\/td><td>In \/ Out \/ InOut<\/td><\/tr><tr><td>Cubic<\/td><td>In \/ Out \/ InOut<\/td><\/tr><tr><td>Quartic<\/td><td>In \/ Out \/ InOut<\/td><\/tr><tr><td>Quintic<\/td><td>In \/ Out \/ InOut<\/td><\/tr><tr><td>Sinusoidal<\/td><td>In \/ Out \/ InOut<\/td><\/tr><tr><td>Exponential<\/td><td>In \/ Out \/ InOut<\/td><\/tr><tr><td>Circular<\/td><td>In \/ Out \/ InOut<\/td><\/tr><tr><td>Elastic<\/td><td>In \/ Out \/ InOut<\/td><\/tr><tr><td>Back<\/td><td>In \/ Out \/ InOut<\/td><\/tr><tr><td>Bounce<\/td><td>In \/ Out \/ InOut<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u544a\u8bc9\u6211\u4f60\u8981\u54ea\u4e2a\uff1f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0b\u9762\u7ed9\u4f60\u4e00\u4efd \u6700\u65b0\u6574\u7406\uff082025\u7248\uff09\u7684 Tween.js \u4f7f\u7528\u6307\u5357\u4e0e\u8be6\u89e3\uff0c\u4ece\u57fa\u7840&#8230; <a class=\"more-link\" href=\"https:\/\/www.52runoob.com\/index.php\/2025\/12\/07\/tween-js%e4%bd%bf%e7%94%a8%e6%8c%87%e5%8d%97%e4%b8%8e%e8%af%a6%e8%a7%a3%e6%9c%80%e6%96%b0%e6%8e%a8%e8%8d%90\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[],"class_list":["post-603","post","type-post","status-publish","format-standard","hentry","category-javascript"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/comments?post=603"}],"version-history":[{"count":1,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/603\/revisions"}],"predecessor-version":[{"id":604,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/603\/revisions\/604"}],"wp:attachment":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/media?parent=603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/categories?post=603"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/tags?post=603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}