Thanks for sharing this, @darkmoon_uk
I've looked through it (as well as tried several implementations of my own after initial message) but I'm frankly not sure where to begin with korlibs.
For my implementations, the most i was able to get to play was static.