Skip to content

Threejs SocketIO

Description

The Socket.IO branch demonstrates,

  • Using Socket.IO to synchronize client side Three.js scene properties,
  • Lerping mesh positions and quaternions based on server side copy of object positions and quaternions,
<>

To load the Socket.IO example, checkout the socketio branch.

git clone https://github.com/Sean-Bradley/Three.js-TypeScript-Boilerplate.git

cd Three.js-TypeScript-Boilerplate

git checkout socketio

npm install

npm run dev