EDIT: This has been fixed. In fact, I'm so happy with the solution, here's the capx for everyone to use!
I've been working on an experiment to get a good procedurally generated level in C2. I've decided to start with a simple random noise, smoothed with bilinear interpolation, then rounded off for hopefully nice flowing terrain.
The bilinear interpolation is giving me a headache however. At some points the result is looking OK but there are lots of incongruencies and artefacts, so something is wrong with my formula.
Here's what it looks like now. (I haven't gotten to the thresholding yet, so obviously it's not going to look like terrain ;) )
<img src="http://i.imgur.com/FzHhg.png" border="0">
So, if some of the math brains would be so kind as to give this Capx a look, I'd be most grateful.
*Cough* Yann R0J0hound *Cough*