<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Owen Tessmer on Medium]]></title>
        <description><![CDATA[Stories by Owen Tessmer on Medium]]></description>
        <link>https://medium.com/@owentessmer?source=rss-f31d444b0bd1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*xO4avHU4ff9-mKGv</url>
            <title>Stories by Owen Tessmer on Medium</title>
            <link>https://medium.com/@owentessmer?source=rss-f31d444b0bd1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 21:04:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@owentessmer/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Blacksmithing Simulator: Soft Bodies]]></title>
            <link>https://medium.com/@owentessmer/blacksmithing-simulator-soft-bodies-a5f37ccedb8e?source=rss-f31d444b0bd1------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5f37ccedb8e</guid>
            <category><![CDATA[simulation]]></category>
            <category><![CDATA[physics]]></category>
            <category><![CDATA[game-maker]]></category>
            <category><![CDATA[blacksmithing]]></category>
            <category><![CDATA[prototyping]]></category>
            <dc:creator><![CDATA[Owen Tessmer]]></dc:creator>
            <pubDate>Wed, 19 Nov 2025 06:54:23 GMT</pubDate>
            <atom:updated>2025-11-19T23:29:32.153Z</atom:updated>
            <content:encoded><![CDATA[<h4>How to reshape the world; One node at a time</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YZ1EeduPvpe_Kx3ZP2ZlOQ.png" /></figure><p>Blacksmithing is a trade built upon the technique of reshaping billets of steel into useful shapes by deforming and restructuring it using heat, tools, and raw muscle. I already have a <a href="https://okeh-devs.itch.io/insulator">working heat simulation prototype</a>, but I think it’s time I tackle the “deforming” and “restructuring”. To solve this, I spent a few days this past week researching and creating a soft body physics system <em>thinking</em> it would solve my issues <em>(foreshadowing)</em>.</p><p>I’ll be using GameMaker along with its built in Box2D physics system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*Flub1gt3p8Dimrl_rS2JkA.png" /></figure><p>Soft body systems are actually way simpler than they look, all they are is nodes and springs.</p><pre>Nodes = {<br>  xPosition, yPosition, mass<br>}</pre><pre>Spring Joints = {<br>  node1PositionX, node1PositionY,<br>  node2PositionX, node2PositionY, <br>  springLength, springDampening, springFrequency<br>}</pre><p>Nodes are just tiny rigid bodies. Spring joints (or distance_joints, according to box2D) are used to connect two nodes together and keep them at an ideal distance. The further away from this distance (whether too close or too far), the more forces are applied to each connected node to return them back to this ideal length. That’s all you need to make soft bodies, as seen in this video:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FBgUbSqLX-Ls&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DBgUbSqLX-Ls&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FBgUbSqLX-Ls%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c4282594b220080a0e8582a5983af892/href">https://medium.com/media/c4282594b220080a0e8582a5983af892/href</a></iframe><p>I stared at pictures of steel crystalline structures for too long and realized it would help to be able to reshape the connections dynamically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/455/1*znPPzWPZjh3rfAfK5HhsxQ.gif" /><figcaption><a href="https://www.the-warren.org/ALevelRevision/engineering/grainstructure.htm">https://www.the-warren.org/ALevelRevision/engineering/grainstructure.htm</a></figcaption></figure><p>I made nodes automatically connect themselves together with a spring joint if they’re close enough, and disconnect themselves if they’re too far apart. This allows the dynamic restructuring of our soft bodies which enables us to create new soft bodies, split them apart, and reform their internal connections.</p><p>Include spawning in a hammer, and <strong>BOOM</strong> we’re done our game.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FjVPKx9i4Kzw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DjVPKx9i4Kzw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FjVPKx9i4Kzw%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/76658afd465ada2c5df172d4c59b4b64/href">https://medium.com/media/76658afd465ada2c5df172d4c59b4b64/href</a></iframe><h3>Amazing. Game Done. Ready to ship.</h3><p>Just kidding, while this was a lot of fun to make and works great, it doesn’t accurately solve the original goal of steel deformation. This is a great system to represent a concept called “elastic deformation”. Elastic deformation is a temporary form of deformation <a href="https://en.wikipedia.org/wiki/Deformation_(engineering)#:~:text=Elasticity,removed">as defined by Wikipedia</a>:</p><blockquote>Elasticity in materials occurs when applied stress does not surpass the energy required to break molecular bonds, allowing the material to deform reversibly and return to its original shape once the stress is removed</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*in-aYx5cDChGFJSIpXEiqw.png" /><figcaption>Two frames taken only a second apart</figcaption></figure><p>To simulate steel, what we’re actually looking for is “plastic deformation” which is the permanent restructuring of a given material. We DO have plastic deformation implemented, in cases such as:</p><ul><li>Dynamically connecting and disconnecting nodes</li><li>Sometimes nodes will find an equilibrium between their spring forces in a position different from where they started</li></ul><p>But this isn’t enough, nor the type of plastic deformation I require. I’m pretty sure by using a very viscous particle fluid simulation I’ll be able to represent the kind of creative destruction I’m hoping for.</p><p>We’ll see if I’m right about this by my next project update.</p><h3>TRY THE DEMO HERE:</h3><p><a href="https://okeh-devs.itch.io/soft-body-demo">https://okeh-devs.itch.io/soft-body-demo</a></p><p>PLEASE LEAVE A COMMENT IF YOU HAVE A BETTER IDEA THAT I COULD TRY OR JUST FEEDBACK IN GENERAL!! I’M SCARED, LONELY, AND IN UNCHARTED TERRITORY THAT I NEVER THOUGHT I’D EXPLORE! Thanks for reading my first post!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5f37ccedb8e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>