Category: Maths

Linear Interpolation
This tutorial will explore one of the most used Mathematical tools in Game Development: linear interpolation! This first post will focus on its Mathematical definition and implementation. The following parts of this series will explore how to extend linear interpolation to nonlinear mappings, and how to use them to correct colour curves. You can find…

The Mathematics of Catenary
—
Many modern games feature hanging wires, cables and chains; this series of tutorials will explore the mathematics behind their shape, which is known as catenary. You can find the Unity package to create catenaries in Unity at the end of the post.

Inverse Kinematics in 3D
—
This tutorial will teach you how to master inverse kinematics in 3D: the technique that solves the problem of moving a robotic arm to reach for a specific target. You can read the rest of this online course here: A link to download the entire Unity package can be found at the end of this…

Improving FloatingPoint Precision in C#
—
This tutorial continues the journey to understand floatingpoint arithmetic, and how to improve the precision of modern programming language types. At the end of this article, you will find a link to download a simple C# library that provides a new type which improves the precision of traditional float and double variables.

An Introduction to FloatingPoint Arithmetic
This tutorial will introduce you to floatingpoint arithmetic, and how many modern languages—C# included—represent real numbers. This is a series in two parts: At the end of this article, you will find a link to download a simple C# library that provides a new type which improves the precision of traditional float and double variables.

From an Outbreak to an Epidemic
This online course introduces the topic of modelling and simulating epidemics. If you are interested in understanding how Mathematicians, Programmers and Data Scientists are studying and fighting the spread of diseases, this series of posts is what you are looking for. The third, and final part of this course will focus on different strategies that…

The Mathematics of Epidemics
—
This online course introduces the topic of modelling and simulating epidemics. If you are interested in understanding how Mathematicians, Programmers and Data Scientists are studying and fighting the spread of diseases, this series of posts is what you are looking for. This online course is inspired by the recent COVID19 pandemic. Now more than ever…

Inverse Kinematics in 2D – Part 2
You can read the rest of this online course here: A followup that focuses on 3D is also available:

Inverse Kinematics in 2D – Part 1
If you have been following this blog for a while, you might have noticed some recurring themes. Inverse Kinematics is definitely one them, and I have dedicated an entire series on how to apply it to robotic arms and tentacles. If you have not read them, do not fear: this new series will be selfcontained,…

Atmospheric Scattering Shader
This tutorial finally concludes our journey to simulate Rayleigh Scattering for a planet’s atmosphere. The next (and final) part will show how to change the shader to also include an additional type of scattering, known as Mie Scattering. You can find all the post in this series here: You can download the Unity package for…