I might be able to write something as well. I say "might" because I have very little time on my hands. Since I didn't have time to do pascal programming during the last few months (apart from some android experiments, which will already be covered), I think it's best to do something more general, like matrix/vector math or perhaps perlin noise.