{"id":55748,"date":"2025-02-19T13:41:09","date_gmt":"2025-02-19T05:41:09","guid":{"rendered":"https:\/\/fwq.ai\/blog\/55748\/"},"modified":"2025-02-19T13:41:09","modified_gmt":"2025-02-19T05:41:09","slug":"%e6%95%b0%e5%ad%a6%e5%85%ac%e5%bc%8f%e4%bd%9c%e4%b8%ba%e6%8c%87%e4%bb%a4%e5%9c%a8claude%e4%b8%ad%e7%94%bb%e4%b8%80%e6%9d%a1%e6%b8%b8%e5%8a%a8%e7%9a%84%e7%a5%9e%e7%a7%98%e6%b0%b4%e7%94%9f%e7%89%a9","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/55748\/","title":{"rendered":"\u6570\u5b66\u516c\u5f0f\u4f5c\u4e3a\u6307\u4ee4\u5728Claude\u4e2d\u753b\u4e00\u6761\u6e38\u52a8\u7684\u795e\u79d8\u6c34\u751f\u7269"},"content":{"rendered":"<p>\u6570\u5b66\u516c\u5f0f\u4f5c\u4e3a\u6307\u4ee4\u8ba9  \u751f\u6210\u795e\u5947\u7684\u52a8\u753b\uff0c\u76f8\u4fe1\u4f60\u770b\u5230\u4ee5\u540e\u4f1a\u975e\u5e38\u60ca\u8bb6\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"\/\/www.w3.org\/2000\/svg'%20viewBox='0%200%20667%20426'%3E%3C\/svg%3E\" title=\"\u6570\u5b66\u516c\u5f0f\u4f5c\u4e3a\u6307\u4ee4\u5728Claude\u4e2d\u753b\u4e00\u6761\u6e38\u52a8\u7684\u795e\u79d8\u6c34\u751f\u7269\u63d2\u56fe\" alt=\"\u6570\u5b66\u516c\u5f0f\u4f5c\u4e3a\u6307\u4ee4\u5728Claude\u4e2d\u753b\u4e00\u6761\u6e38\u52a8\u7684\u795e\u79d8\u6c34\u751f\u7269\u63d2\u56fe\" \/> <img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.aisharenet.com\/wp-content\/uploads\/2024\/11\/db4e75627927897.png\" title=\"\u6570\u5b66\u516c\u5f0f\u4f5c\u4e3a\u6307\u4ee4\u5728Claude\u4e2d\u753b\u4e00\u6761\u6e38\u52a8\u7684\u795e\u79d8\u6c34\u751f\u7269\u63d2\u56fe1\" alt=\"\u6570\u5b66\u516c\u5f0f\u4f5c\u4e3a\u6307\u4ee4\u5728Claude\u4e2d\u753b\u4e00\u6761\u6e38\u52a8\u7684\u795e\u79d8\u6c34\u751f\u7269\u63d2\u56fe1\" \/> <\/p>\n<p> <\/p>\n<p><strong>\u53ea\u9700\u8981\u5728Claude\u4e2d\u8f93\u5165\u4ee5\u4e0b\u6570\u5b66\u516c\u5f0f\uff1a<\/strong><\/p>\n<pre>a=(x,y,d=mag(k=x\/8-12,e=y\/8-9)**2\/50)=&gt;stroke(99+99\/abs(k)*sin(t*4+e*e)**2,96).point((q=x\/3+e+60+1\/k+k\/sin(e)*sin(d-t))*sin(c=d\/4-t\/8)+200,(q-y*d\/9)*cos(c)+200)\r\nt=0,draw=$=&gt;{t||createCanvas(w=400,w);background(6);for(t+=PI\/90,i=1e4;i--;)a(i%200,i\/200&lt;&lt;2)}<\/pre>\n<p>\u7b49\u5f85\u751f\u6210\u4ee3\u7801\u5373\u53ef\u3002\u5982\u679c\u6ca1\u6709\u751f\u6210\uff0c\u5219\u8865\u5145\u4e00\u6761\u547d\u4ee4\uff1a<\/p>\n<pre>Please visualize it for me.<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>\u751f\u6210\u4ee3\u7801\u53c2\u8003\uff08\u672c\u5730\u53e6\u5b58\u4e3a.html\u540e\u6253\u5f00\uff09\uff1a<\/strong><\/p>\n<pre>&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/p5.js\/1.4.0\/p5.js\"&gt;&lt;\/script&gt;\r\n&lt;style&gt;\r\nbody { margin: 0; display: flex; justify-content: center; align-items: center; height: 100vh; background: #111; }\r\ncanvas { border: 1px solid #333; }\r\n&lt;\/style&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;script&gt;\r\nlet t = 0;\r\n\nfunction mag(k, e) {\r\nreturn Math.sqrt(k * k + e * e);\r\n}\r\n\nfunction stroke(v, a) {\r\nstroke(v, v, v, a);\r\n}\r\n\nfunction a(x, y) {\r\nconst k = x\/8 - 12;\r\nconst e = y\/8 - 9;\r\nconst d = mag(k, e)**2\/50;\r\n\nstroke(99 + 99\/Math.abs(k) * Math.sin(t*4 + e*e)**2, 96);\r\n\nconst q = x\/3 + e + 60 + 1\/k + k\/Math.sin(e)*Math.sin(d-t);\r\nconst c = d\/4 - t\/8;\r\n\npoint(\r\nq * Math.sin(c) + 200,\r\n(q - y*d\/9) * Math.cos(c) + 200\r\n);\r\n}\r\n\nfunction setup() {\r\ncreateCanvas(400, 400);\r\n}\r\n\nfunction draw() {\r\nbackground(6);\r\n\nfor(let i = 0; i &lt; 10000; i++) {\r\na(i % 200, Math.floor(i\/200) * 4);\r\n}\r\n\nt += Math.PI\/90;\r\n}\r\n&lt;\/script&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6570\u5b66\u516c\u5f0f\u4f5c\u4e3a\u6307\u4ee4\u8ba9 \u751f\u6210\u795e\u5947\u7684\u52a8\u753b\uff0c\u76f8\u4fe1\u4f60\u770b\u5230\u4ee5\u540e\u4f1a\u975e\u5e38\u60ca\u8bb6\u3002 \u53ea\u9700\u8981\u5728Claude\u4e2d\u8f93\u5165\u4ee5\u4e0b\u6570\u5b66\u516c\u5f0f\uff1a a=(x,y,d=mag(k=x\/8-12,e=y\/8-9)**2\/50)=&gt;stroke(99+99\/abs(k)*sin(t*4+e*e)**2,96).point((q=x\/3+e+60+1\/k+k\/sin(e)*sin(d-t))*sin(c=d\/4-t\/8)+200,(q-y*d\/9)*cos(c)+200) t=0,draw=$=&gt;{t||createCanvas(w=400,w);background(6);for(t+=PI\/90,i=1e4;i&#8211;;)a(i%200,i\/200&lt;&lt;2)} \u7b49\u5f85\u751f\u6210\u4ee3\u7801\u5373\u53ef\u3002\u5982\u679c\u6ca1\u6709\u751f\u6210\uff0c\u5219\u8865\u5145\u4e00\u6761\u547d\u4ee4\uff1a Please visualize it for me. &nbsp; \u751f\u6210\u4ee3\u7801\u53c2\u8003\uff08\u672c\u5730\u53e6\u5b58\u4e3a.html\u540e\u6253\u5f00\uff09\uff1a &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;script src=&#8221;https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/p5.js\/1.4.0\/p5.js&#8221;&gt;&lt;\/script&gt; &lt;style&gt; body { margin: 0; display: flex; justify-content: center; align-items: center; height: 100vh; background: #111; } canvas { border: 1px solid #333; } &lt;\/style&gt; &lt;\/head&gt; &lt;body&gt; &lt;script&gt; let t = 0; function mag(k, e) { return [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-55748","post","type-post","status-publish","format-standard","hentry","category-ai"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/55748","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=55748"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/55748\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=55748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=55748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=55748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}