The rotations of the device (from a gyroscope) and the dice are synchronized on web browsers.
That uses the CSS transform property, the JavaScript deviceorientation event and ASP.NET SignalR.
Source code: https://github.com/sakapon/DeviceSignal
Blog: https://sakapon.wordpress.com/2019/01...