port of http://sourceforge.net/projects/goom/