So it seems I hit 80k of pageviews.
Some time ago was asked for code for [link]
and decided why not to share it on wonderfl.net as a thanks to 80k of view here on DA.
So thanks you guys for attention to my works and here is a wonderfl.net version of this work under MIT license [link]
feel free to copy, modify and reuse it
I would be thankful if you mention where it came from if you distribute it with only slight changes or without them