The code is available on GitHub!
(if colors are too dark your device doesn't support srgb surfaces)