<?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: Valentin Ste</title>
    <description>The latest articles on DEV Community by Valentin Ste (@valentinste).</description>
    <link>https://dev.to/valentinste</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%2F4228678%2F6e7674a4-3bd6-454b-bc44-4b63ab7b0e3c.jpg</url>
      <title>DEV Community: Valentin Ste</title>
      <link>https://dev.to/valentinste</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/valentinste"/>
    <language>en</language>
    <item>
      <title>How I built a Pomodoro timer with a flying Tesla Roadster for the desktop</title>
      <dc:creator>Valentin Ste</dc:creator>
      <pubDate>Wed, 11 Nov 2026 16:19:59 +0000</pubDate>
      <link>https://dev.to/valentinste/how-i-built-a-pomodoro-timer-with-a-flying-tesla-roadster-for-the-desktop-38mk</link>
      <guid>https://dev.to/valentinste/how-i-built-a-pomodoro-timer-with-a-flying-tesla-roadster-for-the-desktop-38mk</guid>
      <description>&lt;p&gt;When Tesla showed the new Roadster doing stunts on rocket thrusters, everyone was impressed by this piece of engineering art. And I had an idea: I wanted this car to fly right across my screen, over all my windows, while I work. A realistic Roadster taking off on jets of steam, flipping in the air above open windows and landing softly in clouds of vapour. But a flying toy with no practical use would get old fast, so from the start I decided to make it a Pomodoro timer: the car animation plays when a work session or a break ends.&lt;/p&gt;

&lt;p&gt;For the first couple of days, Claude and I eagerly wrote a prototype in three.js. To test the physics, I temporarily took the standard Ferrari model from the engine's examples, and made the steam from the nozzles with ordinary shader particles on the GPU. The result was dismal: the steam looked less like compressed gas from a nozzle and more like grey smoke from a broken muffler.&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%2Fmle2aypf5hdw6id2btf5.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%2Fmle2aypf5hdw6id2btf5.png" alt="Early three.js prototype: a red Ferrari with grey particle smoke flying over a Notes window and a code editor" width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  The Architectural Pivot: Prerendered Video
&lt;/h3&gt;

&lt;p&gt;It became clear that real-time generation was a dead end. So we rebuilt the architecture:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No WebGL on the desktop&lt;/strong&gt;: instead of drawing polygons on the fly, we decided to render a perfect clip in Blender Cycles with physically correct lighting and export it as a transparent video (HEVC with an alpha channel). The native Mac app just plays the finished clip at the right moment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ready-made simulations instead of homemade ones&lt;/strong&gt;: instead of fruitless attempts to get AI to write a gas simulation from scratch, we found high-quality OpenVDB simulations of a high-pressure gas leak on Blendkit (Pipe Leak Animated and looped ground smoke by BleachedBroccoli Medvešek).&lt;/li&gt;
&lt;li&gt;For the car's 3D model I settled on &lt;a href="https://sketchfab.com/3d-models/tesla-roadster-2020-1fbf29e297bd4a17ac39a00a378441d8" rel="noopener noreferrer"&gt;"Tesla Roadster 2020" by metarex.4d&lt;/a&gt; on Sketchfab (the 2017 prototype design), licensed under CC BY 4.0: I scaled it to the real car's length and set up the wheel rotation and the materials.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To make the gas jets look authentic, we went through the videos from Tesla's official channel frame by frame and even wrote a script that measures the jet's profile along its length, the bright clumps of steam at the nozzle, and the speed at which the jet's pattern travels.&lt;/p&gt;

&lt;h3&gt;
  
  
  Layered Rendering: From 150 Hours to Overnight
&lt;/h3&gt;

&lt;p&gt;Once the scene came together in Blender, a new obstacle appeared: on my MacBook, a full render of even the 3.5-second landing clip at 60 frames per second with physically based volumetric smoke would have taken 70 to 150 hours. Rendering in layers saved the day:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The car itself, with its metallic reflections and highlights, was rendered at full resolution.&lt;/li&gt;
&lt;li&gt;The volumetric smoke and steam jets were rendered as a separate layer at half resolution (smoke has soft edges, and in motion the pixel difference is invisible to the eye).&lt;/li&gt;
&lt;li&gt;The shadow on the desktop went into a third, transparent layer.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With the layers composited, the landing's render time dropped to about 6 hours, and it rendered overnight without trouble. The whole 13-second show at a MacBook's screen resolution (3024×1964) took about 15 hours the same way.&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%2Fpp3o37kp5fasb1c5pp6f.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%2Fpp3o37kp5fasb1c5pp6f.png" alt="The final Blender render: a silver Roadster hovering on two jets of steam above its own cloud, over desktop" width="800" height="333"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  macOS Native Implementation
&lt;/h3&gt;

&lt;p&gt;This time I was happy with the result. I built the utility itself in Swift as a macOS menu bar app. The transparent video plays over the entire system, but thanks to &lt;code&gt;.ignoresMouseEvents = true&lt;/code&gt;, mouse clicks pass right through the flying car, and the window is a &lt;code&gt;nonactivatingPanel&lt;/code&gt; that can't take focus (&lt;code&gt;canBecomeKey = false&lt;/code&gt;), so your typing isn't interrupted either.&lt;/p&gt;

&lt;h3&gt;
  
  
  Porting to Windows with Tauri 2 &amp;amp; Rust
&lt;/h3&gt;

&lt;p&gt;I made the Windows version later with Tauri 2: a Rust shell, with the panel and the show itself as web pages in the system's built-in WebView2. The video there is the same one the website serves to Chrome (WebM/VP9 with alpha), since WebView2 is the same Chromium. The show window gets the styles &lt;code&gt;WS_EX_LAYERED | WS_EX_TRANSPARENT&lt;/code&gt; so clicks pass through it, &lt;code&gt;WS_EX_NOACTIVATE&lt;/code&gt; so it doesn't take focus, and &lt;code&gt;WS_EX_TOOLWINDOW&lt;/code&gt; so it doesn't appear on the taskbar or in Alt+Tab. I ported the scheduling logic from Swift to plain Rust along with all 107 tests from the Mac version. Everything builds right on the Mac with &lt;code&gt;cargo-xwin&lt;/code&gt; into a 6 MB NSIS installer, and when the panel is closed WebView2 is unloaded, so the idle app takes about 6 MB of memory.&lt;/p&gt;

&lt;h3&gt;
  
  
  Download &amp;amp; Open Source
&lt;/h3&gt;

&lt;p&gt;I built the app's landing page with Astro and hosted it on Cloudflare Pages. The page's main trick is the "Watch it fly" button: press it, and the same transparent video flies right over the site's content (HEVC with alpha for Safari, WebM/VP9 for Chrome and Firefox).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Website &amp;amp; Web Demo:&lt;/strong&gt; &lt;a href="https://flying-roadster-app.pages.dev/?utm_source=devto&amp;amp;utm_content=article" rel="noopener noreferrer"&gt;flying-roadster-app.pages.dev&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/valentin-ste/flying-roadster" rel="noopener noreferrer"&gt;github.com/valentin-ste/flying-roadster&lt;/a&gt; (code under MIT)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The app is free and open source. Because it isn't signed with an Apple Developer certificate, macOS will stop it on first launch: open &lt;strong&gt;System Settings → Privacy &amp;amp; Security&lt;/strong&gt; and click &lt;strong&gt;"Open Anyway"&lt;/strong&gt;. On Windows, SmartScreen will ask you to click &lt;strong&gt;"More info" → "Run anyway"&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The full list of authors and licences for all assets is in the CREDITS file in the repository.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclaimer: This is an independent open-source fan project and is not affiliated with, sponsored, or endorsed by Tesla, Inc. Tesla and Roadster are trademarks of Tesla, Inc.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>opensource</category>
      <category>productivity</category>
      <category>vibecoding</category>
    </item>
  </channel>
</rss>
