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).

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.


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.