A snakes demo in cosmos