Welcome to my website!

From 2010 and beyond, this used to be an AngularJS website written in Dutch, to showcase some small university and side projects to the world.

Now it is a modern static website built with Gridsome. The old projects are published in blog form.
Over time, I will write more blog posts. Most of them will be related to engineering and JavaScript.

As the design is still the same 'design' from 2012, I will also incrementally update the site's look and feel :)

If you want to get in contact, send me and email (but please no recruiter spam).

How to solve canvas crash in Vitest with threads and jsdom

27 August 2022


Themed websites with multiple color schemes the easy way

19 August 2022

Nowadays a lot of Operating Systems support Light and Dark themes and even Web browsers started supporting it thanks to the prefers-color-scheme media query.

In this blog post I'm going to explain you how to apply and switch color schemes (themes) in a web application. I find it important that the mechanism is simple and the codebase stays maintainable (DRY).


I want a mock API and change responses on runtime

17 November 2021

Nowadays many web applications are Single Page Apps that connect to an API via HTTP (for example REST or GraphQL). When you develop such an application, you do not only have to run a local development server, but also an API where it connects to. The API could be running on a dev cluster, but you can also run it locally on a different port for example.

A big advantage of connecting to a real API, is that you probably create less bugs. On the other hand, it is sometimes hard to test or setup up all possible scenarios. How do you for example test, in a controlled way, that your API responds with an internal server error and how the client handles this? In this blog I explain how to do this.


Project Kerststal

26 December 2020

Ooit, heel lang geleden heeft mijn vader zijn eigen kerststal gebouwd. Met vurenhout, grottenpapier, mos en boompjes. De lucht bevatte LEDjes as sterren en in de grot brandde een klein rood lampje. Ieder jaar werden we als kinderen weer betoverd wanneer dit tafereel bij de kerstboom stond. Echter, de laatste jaren was de magie er een beetje vanaf, want deze 40 jaar oude kerststal had zijn beste tijd wel gehad.


Mocking Vuex in Storybook and Vue Test Utils

6 January 2020

This blog post demonstrates how to set up a simple unit test and story for a component that is connected to a Vuex store. These components usually are smart/container components.


Improvisatie als spel

1 March 2008

Toen ik jong was, zei mijn vader nog wel eens waar de verjaardagsvisite bij was "ga eens wat spelen". Dat ik vervolgens op mijn kop kreeg, omdat mijn spel niet voldeed aan wat zij verwachtten, begreep ik nooit. "Je klooit maar wat aan, dat is toch geen muziek. Speel nou eens rustig dat ene stuk van Bach. Dat is mooi."


5 Reasons why you should test your code

27 July 2015

It is just like in mathematics class when I had to make a proof for Thales’ theorem I wrote “Can’t you see that B has a right angle?! Q.E.D.”, but he still gave me an F grade.


ColorBrewer interpolation comparison

The ColorBrewer color scheme picking tool is a wizard in the data visualisation world, especially for maps. What makes these color schemes so powerful?


L-system Tree

For my 3D Computer Graphics course in 2010, I had to create a procedural model as an assignment. We decided to make a tree using L-systems. After a few daws of coding, the result of this assignment is a program which can draw procedural trees using OpenGL. Although OpenGL is nowadays an oldfashioned 3D drawing technique, the result looks quite pretty.