SocketIO Branch

Description

The SocketIO branch demonstrates,

  • Using SocketIO to synchronize client side Threejs scene properties,
  • Tweening mesh positions and quaternions based on server side copy of object positions and quaternions,

To load the SocketIO example, checkout the socketio branch.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
git clone https://github.com/Sean-Bradley/Three.js-TypeScript-Boilerplate.git

cd Three.js-TypeScript-Boilerplate

git checkout socketio 

npm install

npm install -g typescript

npm run dev