<?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 Akenno Grigorri Masangkay on Medium]]></title>
        <description><![CDATA[Stories by Akenno Grigorri Masangkay on Medium]]></description>
        <link>https://medium.com/@akennmasangkay?source=rss-6560c5bf0294------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*6cg2UpLAGvZJpXkW</url>
            <title>Stories by Akenno Grigorri Masangkay on Medium</title>
            <link>https://medium.com/@akennmasangkay?source=rss-6560c5bf0294------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 19:20:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@akennmasangkay/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[All Roads Lead to Rome: How Trying to Shortcut 3D Matrix Calculations Led Me Right Back to 3D…]]></title>
            <link>https://medium.com/@akennmasangkay/all-roads-lead-to-rome-how-trying-to-shortcut-3d-matrix-calculations-led-me-right-back-to-3d-f07b1bc3e927?source=rss-6560c5bf0294------2</link>
            <guid isPermaLink="false">https://medium.com/p/f07b1bc3e927</guid>
            <category><![CDATA[science]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[3d-modeling]]></category>
            <category><![CDATA[stupid]]></category>
            <category><![CDATA[3d-rendering]]></category>
            <dc:creator><![CDATA[Akenno Grigorri Masangkay]]></dc:creator>
            <pubDate>Mon, 10 Aug 2026 10:57:34 GMT</pubDate>
            <atom:updated>2026-08-10T10:57:34.457Z</atom:updated>
            <content:encoded><![CDATA[<h3>All Roads Lead to Rome: How Trying to Shortcut 3D Matrix Calculations Led Me Right Back to 3D Matrix Calculations.</h3><p>A while ago, I observed that when a <strong>cube </strong>rotates along the Y-axis under an orthographic projection, the <strong>cube </strong>traces out the shape of a cylinder or an ellipse <em>(be it what you want).</em></p><p>Given this information, I had decided to graph my observations into “Desmos Graphing Calculator” and yeah it was true.</p><p><strong>Link</strong>: <a href="https://www.desmos.com/calculator/tdflcs1spt">https://www.desmos.com/calculator/tdflcs1spt</a></p><p><em>(I wrote that on my phone during school break time, and mobile desmos doesn’t have Ctrl+C &amp; Ctrl+V)</em></p><figure><img alt="Camera rotating around a cube along the Y-axis." src="https://cdn-images-1.medium.com/max/540/1*4FVKjZtIP-b_uwqWzurCQg.gif" /></figure><p>Deciding to expand X-axis rotation to my bizarre <em>2.5D? 3D? </em>renderer, I settled on 4 total sets of ellipses or 2 for each degree of motion. What is strange is that Z-axis rotation appeared out of nowhere. But, this does make sense given that <em>(well, i’m not very well educated in Linear Algebra but i’ll explain).</em></p><p>Get a Book rotate it 90° down, then 90° right. <strong>WOAH! Z-ROTATION!</strong>.<br>in Two-Dimensions rotations commute, in Three-Dimensions they do not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/0*dRINt8_njQSrx_d5" /><figcaption>Source: Math Stack Exchange</figcaption></figure><pre>//this is fundamentally true in 2D Space<br>A * B = B * A<br><br>//However in 3D space it is different<br>Ry * Rx * Rz ≠ Rx * Ry * Rz ≠ Rz * Rx * Ry<br>//see its not equal the real relationship is<br>[Rx,Ry]= Rx * Ry - Ry * Rx = Rz<br>//same with the others<br>[Rx,Rz]= Rx * Rz - Rz * Rx = Ry<br>[Ry,Rz]= Rz * Ry - Ry * Rz = Rx<br>//did you get any of that? me neither.</pre><p><strong>Link</strong>: <a href="https://www.desmos.com/calculator/6z3xnzkpic">https://www.desmos.com/calculator/6z3xnzkpic</a> (<em>try rotating X and Y at the same, it is messy as hell)</em></p><p>Now, it’s shearing! what do we do!, my deduction was to link the X and Y rotation together. Good Choice, I just can’t get it to work, but let’s just keep this between us. <br><strong>Link</strong>: <a href="https://www.desmos.com/calculator/3jojovbhwr">https://www.desmos.com/calculator/3jojovbhwr</a><br>However, isn’t that just Matrices with extra steps? YES IT IS I CANT ESCAPE IT!!! IT REALLY IS JUST MATRICES<br>IT ALL SIMPLIFIES INTO THIS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t3m-SeSkTuE9C6pJ" /><figcaption>Matrix Multiplication</figcaption></figure><p>While, the original method with one axis was stable without matrix multiplication, It’s just points along a circle connected with lines, the moment you need more than 1 it just turns into regular rendering. Well, im done with this… moving on.</p><p><strong>ON COMPLEX MODELS</strong></p><p>I’m not even gonna make a graph for this mess, here’s a drawing.<br>and it needs a set of rings for X too, so it’s just plain impractical for anything that’s not a pyramid, cube or cone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*LADd61RPBSSgGQCsW9zK0Q.png" /><figcaption>It doesn’t make much sense rn, but thats a teacup</figcaption></figure><p>So takeaway?<br>Z-rotation is emergent, and Matrices are everywhere, and this method is just impractical at best.<br>And here’s the link to my best working demo.<br><strong>Link</strong>: <a href="https://www.desmos.com/calculator/3jojovbhwr">https://www.desmos.com/calculator/3jojovbhwr</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f07b1bc3e927" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>