Highlighted

On Frame Rate Independence

Diving into how we can determine whether some way of iteratively updating a value will be affected by variations in time step.

Backpropagation From Scratch

In this post we summarize the math behind deep learning and implement a simple network that achieves 85% accuracy classifying digits from the MNIST dataset.

Chronology

Key insights on IEEE 754 floating point numbers

Understanding floating point representation can help design systems in order to make the most out of this type.

How to render something behind everything else

I’m working on a skybox in Unity, with a sun that moves to match the scene’s main directional light. The style is blocky and inspired by Minecraft, so the sun...

How to avoid foot sliding

How to set up player movement in the Unity engine where the speed is set by a script and animation root motion is not applied, but synchronize the two in...

On Frame Rate Independence

Diving into how we can determine whether some way of iteratively updating a value will be affected by variations in time step.

Is setting up a VPS worth it?

Yes, if you want to save money and learn about networking on Linux along the way. Pieter Levels does it.

A checklist for SQLite

This is a field guide on setting up and making use of SQLite in the strictest, least error-prone way possible. Examples are based on Python, which provides SQLite as part...

Backpropagation From Scratch

In this post we summarize the math behind deep learning and implement a simple network that achieves 85% accuracy classifying digits from the MNIST dataset.

A Simple Hash For Perlin Noise

I needed a hashing algorithm that is simple to implement and quick to compute, to be used as a basis for generating perlin noise in Unity.

Safe Async Tasks in Unity

2024-01-05 update: Unity has introduced Awaitable in version 2023.1, which improves compatibility with async/await features in C#. However, according to this other documentation page “Unity doesn’t automatically stop code running...

Polygon Reducer is now available on the Unity asset store

I just published my first package on the Unity asset store. It’s called Polygon Reducer, and it reduces the vertex count of meshes in real time, as you drag a...

Floating origin in Unity

If your Unity game is large enough, you will sooner or later run into floating point precision issues when your camera is far from the origin.

Hand sway in Unity

While setting up a first person controller in Unity, I decided to add some sway to the player’s hands.