# Mathspp Blog

#### pygame — Articles that use the Python module pygame to create games, visualisations, and more

##### Animating a rotating spiral

With a couple of loops and a bit of maths you can create a rotating spiral.

##### (More) Animations from first principles

Create a zooming animation from first principles in Python. In 5 minutes. Kind of.

##### Animations from first principles

Create animations from first principles and morph between different figures with Python. In 5 minutes. Kind of.

##### TIL #080 – how to draw a Bézier curve

Today I learned how to draw a Bézier curve with the De Casteljau's algorithm.

##### Solving mazes with programming

I have always loved solving mazes... so naturally I had to write a program to solve mazes for me!

##### HueHue: a colourful game

HueHue is a very colourful game I wrote with my colleague @inesfmarques.

##### Random walk simulations in 2D

Think of a drunk man that continuously tumbles left and right, back and forth, with no final destination.

##### Fractals and the filled Julia set

The filled Julia set is a really cool fractal that kind of resembles the Mandelbrot set!

##### Fractals and the Mandelbrot set

I have always liked the concept of fractal. They are very beautiful, they have a notion of infinity embedded in them, and they make no sense (seriously though, self-similarity?). How could they not be loved?

##### Pigeon Pooping Simulator

This blog post has a single purpose, which is to show you the weird game I made, inspired by Flappy Bird and my crazy English teacher.

##### Minesweeper remake

Minesweeper has to be one of the most well-known minigames of all time, no? I spent my fair share of Sunday mornings playing minesweeper in my Windows XP computer...