open source part of the iOS library from pixelflut.net