If you don’t want to hear about all this and go straight to an example, check out this Javascript implementation of a Dirichlet process Gaussian mixture model used to cluster the McDonald’s menu based on the nutritional data: live demo. The Dirichlet process provides a very interesting approach to understand group assignments and models for […]
Monadic Parser Combinators with C#

A friend of mine recently pointed me to an interesting paper which details the idea of monadic parser combinators. Here several ideas from functional programming are fused to arrive at a new perspective on building document parsers. With parser combinators one takes a hierarchical, bottom-up approach in which small atomic parsers are combined in a […]
Night & Day

This is another demo build with the Hephaestus engine, a game development library I have been working on in my spare time. Night & Day is a sketch of a puzzle platformer inspired by Sparpweed’s amazing game. Hephaestus engine uses internally Erin Catto’s Box2D as a physics simulator engine. Here is some gameplay footage.
SuperAsteroids

For some time now I have been toying around with a game development library, Hephaestus engine, that I have been developing in my spare time. To actually proof that there is some usefulness to my C++ ramblings I threw together a little demo. SuperAsteroids is my take on the classic 1979 arcade space shooter. The […]
A JavaScript RayTracer

If you don’t want to hear about all this and go straight to the raytracer, you can find it here: live demo. Models of Light Light is a very complex system to model accurately, which is why it is so difficult to generate photorealistic images on a computer. As is always the case, more complex […]
The NaSch model: Phantom traffic jams

Most people have probably already encountered the phenomenon: One is cruising down the freeway, when suddenly the traffic thickens and slows to a complete stop. When traffic resumes moving one notes there was no apparent reason for the halt, no accident, no detour, no construction. Traffic jams seem to appear out of the blue without […]
Magnon-skyrmion scattering in chiral magnets

For the last months I have been working on a joint project with Markus Garst in which we studied the magnon scattering from a skyrmion texture. Today we submitted a draft of the paper to the preprint arxiv (arXiv:1405.1568). Skyrmions in chiral magnets are topological magnetisation configurations stabilized due to the Dzyaloshinskii-Moriya interaction (a result […]