Category: C#

  • Improving Floating-Point Precision in C#

    Improving Floating-Point Precision in C#

    This tutorial continues the journey to understand floating-point 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 Floating-Point Arithmetic

    An Introduction to Floating-Point Arithmetic

    This tutorial will introduce you to floating-point 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

    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…

  • Simulating Epidemics

    Simulating Epidemics

    This is the second part of the online course dedicated to the modelling and simulating of 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. In the second part, we will focus on…

  • Inverse Kinematics in 2D – Part 2

    Inverse Kinematics in 2D – Part 2

    You can read the rest of this online course here: A follow-up that focuses on 3D is also available:

  • Inverse Kinematics for Tentacles

    Inverse Kinematics for Tentacles

    This post continues our journey in the depth of Inverse Kinematics. In this tutorial you will learn how to apply this powerful technique to create realistic tentacles. The other post in this series can be found here: At the end of this post you can find a link to download all the assets and scenes necessary to replicate…

  • Inverse Kinematics for Robotic Arms

    Inverse Kinematics for Robotic Arms

    After a long journey about the Mathematics of Forward Kinematics and the geometrical details of gradient descent, we are ready to finally show a working implementation for the problem of inverse kinematics. This tutorial will show how it can be applied to a robotic arm, like the one in the image below. The other post in this series can…

  • Implementing Forward Kinematics

    Implementing Forward Kinematics

    This tutorial continues our quest to solve the problem of forward kinematics. After exploring a mathematical solution in The Mathematics of Forward Kinematics, we will see how to translate it into C# for Unity. The next tutorial, An Introduction to Gradient Descent, will finally show the theoretical foundations to solve inverse kinematics. The other post in this series can be found…

  • The Mathematics of Forward Kinematics

    The Mathematics of Forward Kinematics

    This tutorial starts our journey into the world of inverse kinematics. There are countless ways to approach this problem, but they all starts with forward kinematics. Inverse kinematics takes a point in space, and tells you how to move your arm to reach it. Forward kinematics solves the opposite, dual problem. Knowing how you are moving your arm, it…

  • Nested Coroutines in Unity

    Nested Coroutines in Unity

    This tutorial shows how to make the most out of coroutines in Unity.