implement 2 modes (revolve mode and height mode)