Archive

Websockets - Testing real time communication with socket.io

This is a simple test demonstrating real time communication between two clients using Websockets.

The mobile device sends data about its orientation to the socket.io server, which is relayed in real time to other connected clients. This data is visualised by a cube rotating in 3D space using THREE.JS

Source code on Github

© 2021 Ben Stevens