Tag: c#

  • 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 in 2D – Part 1

    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 self-contained,…

  • 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…

  • Iterators in C#: yield, IEnumerable & IEnumerator

    Iterators in C#: yield, IEnumerable & IEnumerator

    Iterating over lists in C# is often done using for loops. This tutorial shows how the foreach construct can be coupled with the yield statement to create more elegant and safe code.

  • How to Write Libraries for Arduino

    How to Write Libraries for Arduino

    This tutorial explains how to create C++ libraries in Arduino.

  • How to Use Shaders for Simulations

    How to Use Shaders for Simulations

    This series of tutorials will teach you how use shaders for simulations; in particular how to use them to simulate fluids. This first post will focus on how to continuously process a texture using a shader. This technique is at the heart of most simulations and will be used in this series to implement shaders that simulate smoke and…

  • How to Write Native Plugins for Unity

    How to Write Native Plugins for Unity

    Unity has the ability to import pieces of code written (and compiled) in other languages; they are called Native Plugins, and this tutorial will teach you how to build them. Source codes:

">