Digg is dead baby, Digg is dead

Aug. 31, 2010
comments

Just a quick update on the state of social media, in this case Digg. In the recent days, Digg v4 rolled out. The major change? Content providers (such as the Huffington post etc.) are now direct feed providers that plug into Digg. Doing this killed their userbase, read on to find out why.

Integration by Example - Euler vs Verlet vs Runge-Kutta

Aug. 28, 2010
comments

In this post I'm testing different integration methods for a gravity simulation. The results can be inspected interactively in the canvas tags that accompany each test. Hover with the mouse over the illustration to start its simulation or click the illustration to reset the simulation.

Geo programming with python and javascript

Aug. 27, 2010
comments

As mentioned in a previous post, I built a widget using Google maps that tracks a friends journey using GPS logs. This post is about how to build such a widget.

Andis trip to Canada and Alaska

Aug. 26, 2010
comments

Andi is currently on a trip that makes me envious. So I thought it'd be neat if I had a thing where I can see where he was. I've given him my GPS tracker and wished him merry holidays

Javascript Compression, Madness

Aug. 25, 2010
comments

A couple days ago I wrote a post about how to do the n-body simulation in javascript with canvas. But if I wanted to submit it to js1k, it needed to fit into 1024 bytes. The following post is about my own javascript compressor written in python. I start with 3.1kb then get with minification to 1.4kb and with my own compression algorithm to 0.9kb.

html5 canvas and the flying dots

Aug. 22, 2010
comments

The header of this page features a couple flying dots in the Grey strip. They are drawn using a html5 feature called "canvas". Canvas is pretty cool, it makes a lot of things possible for which you had to use flash previously. This post is about how this works including lots of code and math.

Site redesign, more fun, more green

Aug. 22, 2010
comments

Codeflow has been redesigned by me in the last couple of days. If you have been here before, don't click away just yet, you are at the right site, this is still Codeflow. A lot of new things can be found on this page now, and if you care to read on, I'll introduce you to them.

Lithosphere

Aug. 21, 2010
comments

Lithosphere is a GPU driven terrain generator. It allows you to create and export material textures and heightmaps intended for use in realtime graphics applications.

CDLibrary - a driver to Dacal CD Library 2 devices

Aug. 18, 2010
comments

This Linux Driver allows you to access CD Library 2 devices connected on the USB ports either via http or the filesystem. Below is a picture of such a device. Each device can hold 150 CD/DVD/Blue-Ray dimensioned discs.

SpringUV - Minimize distortions from planar UV mapped terrain

Aug. 17, 2010
comments

A common approach to UV mapping terrain is to use planar mapping. This works well except with steep faces where the texture gets stretched. Solutions like tri-planar mapping can remedy this, but introduce other artefacts and are hard to get seamless. The picture below illustrates stretching artefacts with planar UV mapping.