<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Maths on Fragment Shack</title><link>https://fragmentshack.com/tags/maths/</link><description>Recent content in Maths on Fragment Shack</description><image><title>Fragment Shack</title><url>https://fragmentshack.com/images/og-image.png</url><link>https://fragmentshack.com/images/og-image.png</link></image><generator>Hugo</generator><language>en-GB</language><lastBuildDate>Sun, 22 Nov 2026 12:50:00 +0000</lastBuildDate><atom:link href="https://fragmentshack.com/tags/maths/index.xml" rel="self" type="application/rss+xml"/><item><title>🎯 Rays and Intersections: Does This Line Hit That Shape?</title><link>https://fragmentshack.com/posts/rays-intersections/</link><pubDate>Sun, 22 Nov 2026 12:50:00 +0000</pubDate><guid>https://fragmentshack.com/posts/rays-intersections/</guid><description>A ray is a starting point and a direction. Asking where it hits something powers mouse picking, bullets, shadows and ray tracing. Build a ray-circle test from what you already know, then trace a tiny picture.</description></item><item><title>🎚️ Interpolation: Lerp, Smoothstep and Easing</title><link>https://fragmentshack.com/posts/interpolation-lerp-smoothstep/</link><pubDate>Sun, 22 Nov 2026 12:40:00 +0000</pubDate><guid>https://fragmentshack.com/posts/interpolation-lerp-smoothstep/</guid><description>Blending smoothly from one value to another is everywhere in graphics: colours, positions, textures, animation. Meet lerp, its reverse, remapping, smoothstep and easing curves.</description></item><item><title>〰️ Angles, Sine and Cosine: Going Round in Circles</title><link>https://fragmentshack.com/posts/sine-cosine-angles/</link><pubDate>Sun, 22 Nov 2026 12:30:00 +0000</pubDate><guid>https://fragmentshack.com/posts/sine-cosine-angles/</guid><description>Sine and cosine are just the x and y of a point going round a circle. That simple idea gives you rotation, smooth waves, orbits and animation. Spin the point and shape a wave.</description></item><item><title>✖️ The Cross Product: Finding the Direction at Right Angles</title><link>https://fragmentshack.com/posts/cross-product/</link><pubDate>Sun, 22 Nov 2026 12:20:00 +0000</pubDate><guid>https://fragmentshack.com/posts/cross-product/</guid><description>Give the cross product two directions and it hands back a third, at right angles to both. It&amp;rsquo;s how graphics finds which way a triangle faces, which side of a line a point is on, and how cameras get their axes.</description></item><item><title>⚫ The Dot Product: How Much Do Two Directions Agree?</title><link>https://fragmentshack.com/posts/dot-product/</link><pubDate>Sun, 22 Nov 2026 12:10:00 +0000</pubDate><guid>https://fragmentshack.com/posts/dot-product/</guid><description>One tiny calculation, three multiplications and two additions, answers &amp;lsquo;do these point the same way?&amp;rsquo;. It&amp;rsquo;s behind lighting, field-of-view checks and much more. Drag two arrows and see.</description></item><item><title>🧭 Coordinates and Vectors: Arrows That Describe Space</title><link>https://fragmentshack.com/posts/vectors-coordinates/</link><pubDate>Sun, 22 Nov 2026 12:00:00 +0000</pubDate><guid>https://fragmentshack.com/posts/vectors-coordinates/</guid><description>Nearly every number in graphics is a position or a direction. Learn what coordinates and vectors are, and how to add, subtract, scale and measure them, by dragging arrows around.</description></item><item><title>🫠 Combining SDFs: Unions, Smooth Blends and Bending Space</title><link>https://fragmentshack.com/posts/sdf-combining-shapes/</link><pubDate>Sat, 21 Nov 2026 09:25:00 +0000</pubDate><guid>https://fragmentshack.com/posts/sdf-combining-shapes/</guid><description>Two lines of maths join, cut and melt shapes together, and a few more repeat, mirror and twist them, endlessly, for free. Part 2 of the signed distance fields series.</description></item><item><title>🔵 Signed Distance Fields: Shapes Made of Distances</title><link>https://fragmentshack.com/posts/signed-distance-fields/</link><pubDate>Sat, 21 Nov 2026 09:20:00 +0000</pubDate><guid>https://fragmentshack.com/posts/signed-distance-fields/</guid><description>Describe a shape by how far every point is from its edge, and you get crisp edges at any size, easy outlines and much more. See how circles, boxes, lines and polygons are written as distance functions.</description></item><item><title>🔄 Transformation Matrices: Moving, Rotating and Scaling with Grids of Numbers</title><link>https://fragmentshack.com/posts/transformation-matrices/</link><pubDate>Wed, 11 Nov 2026 10:00:00 +0000</pubDate><guid>https://fragmentshack.com/posts/transformation-matrices/</guid><description>How a small grid of numbers can move, turn, stretch and mirror a whole mesh at once, why its columns tell you where the axes go, and why the order you combine them in matters.</description></item></channel></rss>