<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Three.js on Stesla's Notes</title><link>https://stesla.shop/tags/three.js/</link><description>Recent content in Three.js on Stesla's Notes</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><lastBuildDate>Fri, 27 Nov 2026 21:30:00 +0800</lastBuildDate><atom:link href="https://stesla.shop/tags/three.js/index.xml" rel="self" type="application/rss+xml"/><item><title>三只鹈鹕：两张 SVG 和一个会骑车的 3D 场景</title><link>https://stesla.shop/p/pelican-bicycle/</link><pubDate>Fri, 27 Nov 2026 21:30:00 +0800</pubDate><guid>https://stesla.shop/p/pelican-bicycle/</guid><description>&lt;img src="https://stesla.shop/p/pelican-bicycle/cover.jpg" alt="Featured image of post 三只鹈鹕：两张 SVG 和一个会骑车的 3D 场景" /&gt;&lt;p&gt;最近让 Claude 用纯代码画鹈鹕玩，没有用任何现成素材。成果是两张 SVG 和一个 3D 场景，都放在这里。&lt;/p&gt;&#10;&lt;h2 id="骑自行车的鹈鹕3d"&gt;&lt;a href="#%e9%aa%91%e8%87%aa%e8%a1%8c%e8%bd%a6%e7%9a%84%e9%b9%88%e9%b9%953d" class="header-anchor"&gt;&lt;/a&gt;骑自行车的鹈鹕（3D）&#10;&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;&lt;a class="link" href="https://stesla.shop/pelican-ride/" &gt;点这里打开 3D 场景&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;用 Three.js 写的单个网页，鹈鹕、自行车、海岛和动画全部由代码生成。后轮、链条和曲柄按齿比联动，腿部关节实时解算。&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;拖动旋转，滚轮缩放；点鹈鹕会叫，点车铃会响&lt;/li&gt;&#10;&lt;li&gt;底部面板可以换机位、喂鱼、放手展翅、调时间&lt;/li&gt;&#10;&lt;li&gt;想看清腿怎么蹬：按 &lt;code&gt;5&lt;/code&gt; 切到踏板特写，再按 &lt;code&gt;M&lt;/code&gt; 开慢动作&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&#10; &lt;blockquote&gt;&#10; &lt;p&gt;建议用带显卡的电脑打开。Three.js 从公共 CDN 加载，需要联网。&lt;/p&gt;&#10;&#10; &lt;/blockquote&gt;&#10;&lt;h2 id="木桩上的鹈鹕svg"&gt;&lt;a href="#%e6%9c%a8%e6%a1%a9%e4%b8%8a%e7%9a%84%e9%b9%88%e9%b9%95svg" class="header-anchor"&gt;&lt;/a&gt;木桩上的鹈鹕（SVG）&#10;&lt;/h2&gt;&lt;p&gt;&lt;img alt="海边木桩上的鹈鹕" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://stesla.shop/p/pelican-bicycle/pelican.svg"&gt;&lt;/p&gt;&#10;&lt;h2 id="自行车骑鹈鹕svg"&gt;&lt;a href="#%e8%87%aa%e8%a1%8c%e8%bd%a6%e9%aa%91%e9%b9%88%e9%b9%95svg" class="header-anchor"&gt;&lt;/a&gt;自行车骑鹈鹕（SVG）&#10;&lt;/h2&gt;&lt;p&gt;没写反：这张里鹈鹕是坐骑，自行车才是骑手。&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="自行车骑着鹈鹕" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://stesla.shop/p/pelican-bicycle/pelican-bike.svg"&gt;&lt;/p&gt;&#10;</description></item></channel></rss>