An interactive WebSocket-based visualization that connects multiple clients with animated circles.
Install the package globally:
npm install -g circles-ws
Run the server:
circles-ws [options]
--port
: Specify the port to run the server on (default: 8080)--tick
: Specify the tick rate in milliseconds (default: 16)
Once the server is running, you can use these keyboard controls:
o
: Open browser (create circle)c
: Count connected clientsl
: Kick all clientsh
: Show helpq
: Quit the server
- Clone the repository
- Install dependencies:
npm install
- Run the server:
npm start