<?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>Forem: milchreis</title>
    <description>The latest articles on Forem by milchreis (@milchreis).</description>
    <link>https://forem.com/milchreis</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3707308%2Fd5a0fd62-3248-488e-a2a6-19450cb2058d.jpg</url>
      <title>Forem: milchreis</title>
      <link>https://forem.com/milchreis</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/milchreis"/>
    <language>en</language>
    <item>
      <title>Pico8</title>
      <dc:creator>milchreis</dc:creator>
      <pubDate>Fri, 16 Jan 2026 23:21:19 +0000</pubDate>
      <link>https://forem.com/milchreis/pico8-4bfi</link>
      <guid>https://forem.com/milchreis/pico8-4bfi</guid>
      <description></description>
    </item>
    <item>
      <title>Procrastination: Coding Burpees instead of doing them</title>
      <dc:creator>milchreis</dc:creator>
      <pubDate>Wed, 14 Jan 2026 19:04:26 +0000</pubDate>
      <link>https://forem.com/milchreis/coding-burpees-instead-of-doing-them-3ed6</link>
      <guid>https://forem.com/milchreis/coding-burpees-instead-of-doing-them-3ed6</guid>
      <description>&lt;p&gt;Let’s be honest: The hardest part of working out isn’t the lifting or the running. It’s deciding what to do.&lt;/p&gt;

&lt;p&gt;Naturally, instead of just doing a push-up, I decided to spend several hours coding a 3D simulation to tell me what to do. Is it efficient? No. Is it the "suckatcoding" way? Absolutely.&lt;/p&gt;

&lt;p&gt;You can check out the source code or roll the dice yourself below:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Repo: View &lt;a href="https://github.com/suckatcoding-com/workout-generator/" rel="noopener noreferrer"&gt;Source Code&lt;/a&gt; on GitHub&lt;/li&gt;
&lt;li&gt;Demo: Try the Workout Generator &lt;a href="https://suckatcoding-com.github.io/workout-generator/" rel="noopener noreferrer"&gt;Here standalone&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The "Why": Motivation (or lack thereof)
&lt;/h2&gt;

&lt;p&gt;Why did I build this? Was it a burning passion for fitness technology? Not exactly.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Advanced Procrastination: I needed a rock-solid excuse to delay my actual workout. Nothing burns time quite like debugging JavaScript.&lt;/li&gt;
&lt;li&gt;Fiscal Responsibility: I refused to spend actual money on those silly physical fitness dice. Why pay $10 for plastic when I can spend hours of my life building a digital version for free?&lt;/li&gt;
&lt;li&gt;The "Learning" Excuse: I wanted to finally mess around with 3D in the browser. It was the perfect low-stakes project to crash a WebGL context with.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Under the Hood: How it Works
&lt;/h2&gt;

&lt;p&gt;For the tech-curious, I didn't just use &lt;code&gt;Math.random()&lt;/code&gt; and call it a day. I wanted it to feel real (even if my motivation to do the resulting Burpees wasn't).&lt;/p&gt;

&lt;p&gt;Here is the stack that powers the procrastination:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ThreeJS: The heavy lifter used for the 3D rendering.&lt;/li&gt;
&lt;li&gt;TweenJS: Handles the camera movements and smooth animations, making it look far more professional than it actually is.&lt;/li&gt;
&lt;li&gt;Real Physics: I used CANNON-ES as physics engine for the dice throws. When the dice tumble, that’s gravity and collision logic at work—no pre-baked animations here.&lt;/li&gt;
&lt;li&gt;Mood Lighting: I used Red and Blue spotlights to create a specific light atmosphere. Does it help the code run faster? No. Does it look cool? Yes.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Verdict
&lt;/h2&gt;

&lt;p&gt;The tool works perfectly. It rolls the dice, uses real physics, and looks great in 3D. Unfortunately, this means I have run out of excuses and actually have to do the workout now.&lt;/p&gt;

&lt;p&gt;Check it out, fork the repo, and maybe use it to delay your own gym session.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This article was originally published on &lt;a href="https://suckatcoding.com/blog" rel="noopener noreferrer"&gt;suckatcoding.com&lt;/a&gt;. Check it out for more ranting about Java and Spaghetti Code.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>webdev</category>
      <category>humor</category>
      <category>javascript</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
