this is a starling-framework sample ported to genome2d