Creating games in Browser (scratchbook)

Game loop The traditional way of generating a loop inside javascript would be to use window.setInterval with a callback function.  It seems best to use window.requestAnimationFrame(). This method seems to be running in a separate GUI thread for the browser. Because this is called whenever the browser sees fit you need to keep track of … Read more

Ecmascript 6 (scratchbook)

This page is mainly used for me to add notes on things I encounter while working with EcmaScript 6 in Chrome (48) Classes: When working with EcmaScript 6 you can use classes. Classes are defined like so: class doSomething{ constructor(param){ this.param = param; } someMethod(){ console.log(‘do something’); } } Really straight forward Inheritance Inheritance can … Read more

Sportief doel 2016

Iets meer dan een jaar geleden ben ik begonnen met wheelen  (hardlopen voor rolstoelers…). Dit beviel mij zo goed dat ik het steeds meer ben gaan doen en in 2015 zelfs mee heb gedaan me zowel de wings for life world run als ook de Rolstoelmeerdaagse Deurne waar ik respectievelijk 20,5 en 3×30 kilometer heb afgelegd. Door … Read more