Code is available here.
https://user-images.githubusercontent.com/52823230/183278083-488ee277-775f-4022-ab36-9a30a24feaf1.mp4