Return to schedule

Make fun graphics with cellular automata Feedback

A cellular automaton is a model of computation. It can be used for different purposes, but in this workshop we'll exclusively use it to make nice-looking two-dimensional graphics.

Conway's Game of Life is arguably the best-known 2D cellular automaton, but there are no limits to what other cellular automata we can come up with.

I'll show you how to use my graffito library, which can make these kinds of graphics programs run efficiently on GPUs and multicores through the use of the Futhark programming language.

No prior experience with Futhark or GPU programming is needed, but it might be useful to have tried using a programming language with some support for the functional programming paradigm.

We'll start with this template: https://github.com/nqpz/graffito/blob/main/stencils/template/stencil.fut

Installation of tools:

  • Please follow the instructions at https://futhark.readthedocs.io/en/latest/installation.html to install Futhark (avoid compiling from source if you're in a hurry, instead see if there's a binary available for you in a package manager or a tarball).
  • In addition, graffito requires the presence of SDL2, SDL2-ttf, xxd, and python3, all of which you should be able to find in your package manager.


Hosts for Make fun graphics with cellular automata:


Metadata for Make fun graphics with cellular automata

To be recorded: No

URLs for Make fun graphics with cellular automata

No URLs found.


Schedule for Make fun graphics with cellular automata

  • Monday, Jul 22nd, 2024, 13:00 (CEST) - Monday, Jul 22nd, 2024, 15:00 (CEST) at Workshop Room