circle_wave_counter library