Mountains, Cliffs, and Caves: A Comprehensive Guide to Using Perlin Noise for Procedural Generation

Mountains, Cliffs, and Caves: A Comprehensive Guide to Using Perlin Noise for Procedural Generation

Procedural generation is everywhere—you’ve probably encountered it without even realising. It’s what gives in-game worlds their rolling hills, jagged cliffs, and winding cave systems. And at the heart of it all is Perlin noise: a special kind of randomness that isn’t entirely random at all. It’s smooth where it needs to be, rough when we want it to be, and endlessly customizable.

The Bridges of Königsberg

The Bridges of Königsberg

The sun dipped low over the bustling City of Königsberg, casting golden reflections over the Pregel River. Its waters divided the town into four distinct land masses, connected by seven foot-bridges that had become a curious point of both pride and frustration for its residents. By day, the bridges bustled with merchants and townsfolk, but as the evenings drew in, they became the source of a mysterious puzzle. Could someone, starting from any point on land, cross each of the seven bridges exactly once and return to where they began? It may sound simple, almost trivial, yet no matter how the townspeople tried, no one could find a solution.

The Hunt For Primes

The Hunt For Primes

Prime numbers are among the most intriguing puzzles in mathematics — seemingly random yet deeply significant.
Their elusive pattern defies easy detection, making them both a source of fascination and frustration. The challenge grows exponentially with larger numbers, where determining if a number is prime becomes immensely time-consuming.
However, some clever shortcuts can speed up the search and help us swiftly eliminate impostors.

What if an Infinite Number of Spaceships Arrive at Hilbert’s Hotel?

What if an Infinite Number of Spaceships Arrive at Hilbert’s Hotel?

Suppose you’ve just been hired as the new manager of Hilbert’s Infinite Hotel.
On your first day, you arrive at work only to be greeted by an infinitely long line of people in the lobby each expecting a room.
The Problem? All of the infinite number of rooms are already occupied by an infinite number of guests. The Infinite Hotel is full.

The Tower of Hanoi

The Tower of Hanoi

You’ve probably seen this puzzle before.
You could probably solve it without too much hassle.
But let’s ask a more interesting question…
What is the fewest number of moves required to solve the puzzle?
Can we prove we’re correct?

Surviving the First Year of Your Math Degree

Surviving the First Year of Your Math Degree

Luckily, studying for a degree in mathematics is very different from high school.
Math class didn’t exactly get the best reputation in school — and I can see why. It tells students to learn about seemingly pointless techniques and memorise different formulas that 99% of them will never use again… unless they go on to become math teachers.
Things change, however, when you decide to study maths at a higher level.

Solving the Travelling Salesman Problem Using a Genetic Algorithm

Solving the Travelling Salesman Problem Using a Genetic Algorithm

The Travelling Salesman Problem, TSP, describes a scenario where a salesman wishes to visit a number of cities, while taking the shortest possible route, before returning home to the start point. While it may appear simple, this problem not only has no known polynomial time solution, but there is also no time-efficient way to prove that a given solution is in fact optimal.

Why We Can’t (Completely) Solve The Travelling Salesman Problem

Why We Can’t (Completely) Solve The Travelling Salesman Problem

Imagine you want to travel around Europe. You want to see the sights, and visit as many European capital cities as possible, but you’re on a budget; flights can get expensive, so you plan to travel by rail and bus. To make your funds stretch as far as possible, you need to plan a route that will take you to all of the cities on your list for the cheapest price, before heading home again.