<?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 Boris Dupoux</title><link>https://borisdupoux.com/tags/three.js/</link><description>Recent content in Three.js on Boris Dupoux</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Wed, 14 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://borisdupoux.com/tags/three.js/index.xml" rel="self" type="application/rss+xml"/><item><title>Spinning-Top Workshop</title><link>https://borisdupoux.com/design/spinning-top-workshop/</link><pubDate>Wed, 14 Oct 2026 00:00:00 +0000</pubDate><guid>https://borisdupoux.com/design/spinning-top-workshop/</guid><description>&lt;!--geste--&gt;&lt;figure class="gd gd-top rev leve" data-mot-point="Profile point {n}" data-annonce="Top spinning, {v} turns per second" data-arret="Top stopped"&gt;
&lt;div class="gd-cadre"&gt;
&lt;img class="gd-photo gd-remplace" src="https://borisdupoux.com/design/spinning-top-workshop/top-card.jpg" width="1066" height="600" alt="Three tops: walnut, brass, resin" loading="lazy" decoding="async"&gt;
&lt;svg class="gd-svg gd-js" viewBox="0 0 640 400" preserveAspectRatio="xMidYMid meet" aria-hidden="true" focusable="false"&gt;&lt;/svg&gt;&lt;span class="gd-etiq etiq gd-js"&gt;The principle&lt;/span&gt;&lt;p class="gd-aide gd-js"&gt;Drag the half-profile points, then flick the top to spin it&lt;/p&gt;
&lt;p class="gd-top-mesures gd-js" aria-hidden="true"&gt;&lt;span&gt;&lt;b&gt;H&lt;/b&gt;&lt;span class="tp-h"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;Ø&lt;/b&gt;&lt;span class="tp-d"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;V&lt;/b&gt;&lt;span class="tp-v"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;button type="button" class="gd-coin pastille gd-js" data-role="lancer" hidden&gt;Spin&lt;/button&gt;
&lt;output class="sr gd-js" aria-live="polite"&gt;&lt;/output&gt;
&lt;/div&gt;
&lt;figcaption&gt;One curve turned around an axis: the half-profile on the right, the top of revolution, its height, diameter, volume and centre of gravity, recomputed as you move each point.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;!--/geste--&gt;
&lt;p&gt;&lt;img class="volet" src="https://borisdupoux.com/design/spinning-top-workshop/top-walnut-koma.jpg" srcset="https://borisdupoux.com/design/spinning-top-workshop/top-walnut-koma_hu_e242fd8646a0f2ce.jpg 800w, https://borisdupoux.com/design/spinning-top-workshop/top-walnut-koma.jpg 1000w" sizes="(max-width: 899px) calc(100vw - 32px), (max-width: 1600px) 88vw, 1400px" data-zoom="/design/spinning-top-workshop/top-walnut-koma.jpg" data-zl="1000" data-zh="982" width="1000" height="982" style="--ratio: 1.018" alt="A walnut top with a wide flat disc" loading="lazy" decoding="async"&gt;
&lt;img class="volet" src="https://borisdupoux.com/design/spinning-top-workshop/top-brass-pear.jpg" srcset="https://borisdupoux.com/design/spinning-top-workshop/top-brass-pear_hu_e31b19d6492478fc.jpg 800w, https://borisdupoux.com/design/spinning-top-workshop/top-brass-pear.jpg 1000w" sizes="(max-width: 899px) calc(100vw - 32px), (max-width: 1600px) 88vw, 1400px" data-zoom="/design/spinning-top-workshop/top-brass-pear.jpg" data-zl="1000" data-zh="982" width="1000" height="982" style="--ratio: 1.018" alt="A brass pear-shaped top" loading="lazy" decoding="async"&gt;
&lt;img class="volet" src="https://borisdupoux.com/design/spinning-top-workshop/top-resin-mushroom.jpg" srcset="https://borisdupoux.com/design/spinning-top-workshop/top-resin-mushroom_hu_7529a7d9259eb5c9.jpg 800w, https://borisdupoux.com/design/spinning-top-workshop/top-resin-mushroom.jpg 1000w" sizes="(max-width: 899px) calc(100vw - 32px), (max-width: 1600px) 88vw, 1400px" data-zoom="/design/spinning-top-workshop/top-resin-mushroom.jpg" data-zl="1000" data-zh="982" width="1000" height="982" style="--ratio: 1.018" alt="A translucent resin mushroom-shaped top" loading="lazy" decoding="async"&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Three templates in three materials: walnut, brass, resin.&lt;/em&gt;&lt;/p&gt;
&lt;h2 class="marque" id="the-idea" data-chapitre data-nom="The idea"&gt;&lt;span class="n" aria-hidden="true"&gt;&lt;/span&gt;&lt;span class="t"&gt;The idea&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;Drawing a spinning top means drawing one curve: its half-profile, turned around
an axis. You trace that curve as a line, through points or as a smooth spline,
and the top appears in 3D at once. It spins, precesses or lies on its side, and
the app shows its volume, height, diameter and centre of gravity while you move
the points. The same shape then goes to the workshop: as an STL for 3D printing,
a DXF profile for a lathe or CNC, a 1:1 dimensioned SVG plan, or GLB and USDZ
models that open in augmented reality on an iPhone.&lt;/p&gt;
&lt;p&gt;&lt;img class="volet" src="https://borisdupoux.com/design/spinning-top-workshop/top-app.jpg" srcset="https://borisdupoux.com/design/spinning-top-workshop/top-app_hu_86af90ce890accf3.jpg 800w, https://borisdupoux.com/design/spinning-top-workshop/top-app.jpg 1600w" sizes="(max-width: 899px) calc(100vw - 32px), (max-width: 1600px) 88vw, 1400px" data-zoom="/design/spinning-top-workshop/top-app.jpg" data-zl="1600" data-zh="1000" width="1600" height="1000" style="--ratio: 1.600" alt="The Spinning-Top Workshop app: 3D top on the left, profile editor and templates on the right" loading="lazy" decoding="async"&gt;
&lt;em&gt;The workshop: drag the profile points on the right, the top updates on the left.&lt;/em&gt;&lt;/p&gt;
&lt;h2 class="marque" id="stack" data-chapitre data-nom="Stack"&gt;&lt;span class="n" aria-hidden="true"&gt;&lt;/span&gt;&lt;span class="t"&gt;Stack&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;&lt;code&gt;JavaScript&lt;/code&gt; · &lt;code&gt;three.js&lt;/code&gt; · &lt;code&gt;WebGL&lt;/code&gt; · &lt;code&gt;STL · OBJ · GLB · USDZ · DXF · SVG&lt;/code&gt; · no server&lt;/p&gt;</description></item></channel></rss>