<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Math on Feynman's Blog</title><link>/en/tags/math/</link><description>Recent content in Math on Feynman's Blog</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 25 Aug 2026 12:00:00 +0800</lastBuildDate><atom:link href="/en/tags/math/index.xml" rel="self" type="application/rss+xml"/><item><title>11 | GLSL Math Functions</title><link>/en/posts/threejs-glsl-math/</link><pubDate>Tue, 25 Aug 2026 12:00:00 +0800</pubDate><guid>/en/posts/threejs-glsl-math/</guid><description>&lt;blockquote class="blockquote-regular"&gt;
 &lt;p&gt;Last lesson covered GLSL basics and ShaderMaterial data channels. This lesson dives deep into math functions — mix / step / smoothstep for gradients and boundaries, sin / cos for waves, dot / cross for lighting and Fresnel, fract / mod for repeating patterns. These functions form the core toolchain from &amp;ldquo;a UV coordinate&amp;rdquo; to &amp;ldquo;a final image&amp;rdquo;.&lt;/p&gt;

&lt;/blockquote&gt;
&lt;h2 id="01-learning-objectives"&gt;01 Learning Objectives&lt;/h2&gt;
&lt;p&gt;This lesson focuses on practical applications of GLSL math functions:&lt;/p&gt;</description></item><item><title>Math Basics: A Complete Guide to Trigonometry</title><link>/en/posts/trigonometry-guide/</link><pubDate>Sun, 05 Jul 2026 10:00:00 +0800</pubDate><guid>/en/posts/trigonometry-guide/</guid><description>&lt;blockquote class="blockquote-regular"&gt;
 &lt;p&gt;Trigonometric functions are the core tool for describing periodic phenomena and the mathematical foundation for 3D graphics. This article starts from right triangles and systematically reviews the definitions, formulas, graphs, and inverse trigonometric functions.&lt;/p&gt;

&lt;/blockquote&gt;
&lt;h2 id="01-basic-definitions"&gt;01 Basic Definitions&lt;/h2&gt;
&lt;h3 id="right-triangle-definition"&gt;Right Triangle Definition&lt;/h3&gt;
&lt;p&gt;In a right triangle, let angle $\theta$ be an acute angle:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Sine&lt;/strong&gt; (sin): $\sin\theta = \frac{\text{opposite}}{\text{hypotenuse}}$&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cosine&lt;/strong&gt; (cos): $\cos\theta = \frac{\text{adjacent}}{\text{hypotenuse}}$&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tangent&lt;/strong&gt; (tan): $\tan\theta = \frac{\text{opposite}}{\text{adjacent}} = \frac{\sin\theta}{\cos\theta}$&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="opposite-adjacent-hypotenuse-computation-formulas"&gt;Opposite, Adjacent, Hypotenuse Computation Formulas&lt;/h3&gt;
&lt;p&gt;Given a trigonometric function value and one side, the other sides can be found:&lt;/p&gt;</description></item></channel></rss>