<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kart Chaos</title>
    <description>The latest articles on DEV Community by Kart Chaos (@kartchaos).</description>
    <link>https://dev.to/kartchaos</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4183924%2Fbd71e843-7d1e-46e6-b8b6-c7a4a5024aae.png</url>
      <title>DEV Community: Kart Chaos</title>
      <link>https://dev.to/kartchaos</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kartchaos"/>
    <language>en</language>
    <item>
      <title>I built a multiplayer kart racer that runs in the browser with three.js</title>
      <dc:creator>Kart Chaos</dc:creator>
      <pubDate>Wed, 14 Oct 2026 06:59:15 +0000</pubDate>
      <link>https://dev.to/kartchaos/i-built-a-multiplayer-kart-racer-that-runs-in-the-browser-with-threejs-652</link>
      <guid>https://dev.to/kartchaos/i-built-a-multiplayer-kart-racer-that-runs-in-the-browser-with-threejs-652</guid>
      <description>&lt;p&gt;I've been working on a side project for a while: &lt;strong&gt;Kart Chaos&lt;/strong&gt;, a 3D kart racer that runs entirely in the browser using three.js and WebGL. No download, no account, and it works on phones too. You can try it here: &lt;a href="https://kartchaos.com/?ref=devto" rel="noopener noreferrer"&gt;https://kartchaos.com/?ref=devto&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw0ltm2qj4ngqahikfrpp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw0ltm2qj4ngqahikfrpp.png" alt="Kart Chaos race in progress" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why a kart racer in the browser?
&lt;/h2&gt;

&lt;p&gt;Kart racers are a great stress test for a web game: lots of moving objects, a camera that has to feel good at speed, physics that needs to be fun rather than realistic, and input that has to feel responsive on both a keyboard and a touchscreen. I wanted to see how far I could push three.js while keeping the "click a link and you're racing" experience.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's in it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Grand Prix&lt;/strong&gt; – the Chamo Cup, a 5-track cup&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Versus&lt;/strong&gt;, &lt;strong&gt;Time Trial&lt;/strong&gt;, and a &lt;strong&gt;Daily Challenge&lt;/strong&gt; that's the same for everyone each day&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Online multiplayer&lt;/strong&gt; – create a room, share it with friends, and race with text chat and voice&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Touch controls&lt;/strong&gt; for mobile, and no sign-up required&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxgx77i7256a1oh1rbm2o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxgx77i7256a1oh1rbm2o.png" alt="Kart Chaos screenshot" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Things I learned along the way
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Handling is everything.&lt;/strong&gt; Arcade kart physics is mostly about faking it well. Getting drifting and steering to feel "right" took far more iteration than any of the rendering work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mobile is the real performance target.&lt;/strong&gt; A scene that runs smoothly on a desktop GPU can struggle on a low-end phone, so a lot of time went into keeping the scene lean and making touch controls feel as direct as a keyboard.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Multiplayer changes everything.&lt;/strong&gt; Once other players are on the track, you have to care about latency and what each client actually "sees". Adding rooms, chat and voice on top made it feel like a real game night rather than a tech demo.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwt817tvqfqsegvxm17iw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwt817tvqfqsegvxm17iw.png" alt="Kart Chaos screenshot" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Feedback welcome
&lt;/h2&gt;

&lt;p&gt;I'd really appreciate feedback from other devs, especially on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;how the &lt;strong&gt;handling&lt;/strong&gt; feels&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;performance on low-end phones&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;how the &lt;strong&gt;netcode&lt;/strong&gt; feels when racing others online&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Give it a spin at &lt;a href="https://kartchaos.com/?ref=devto" rel="noopener noreferrer"&gt;https://kartchaos.com/?ref=devto&lt;/a&gt; and let me know in the comments what works and what doesn't. Happy to answer questions about the three.js side of things too!&lt;/p&gt;

</description>
      <category>threejs</category>
      <category>gamedev</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
