An open API service indexing awesome lists of open source software.

https://github.com/douxxtech/circles-ws

An interactive WebSocket-based visualization that connects multiple clients with animated circles.
https://github.com/douxxtech/circles-ws

circles development web websocket

Last synced: 11 months ago
JSON representation

An interactive WebSocket-based visualization that connects multiple clients with animated circles.

Awesome Lists containing this project

README

          

# Circles-WS
![preview](preview.png)

An interactive WebSocket-based visualization that connects multiple clients with animated circles.

## Installation

Install the package globally:

```bash
npm install -g circles-ws
```

## Usage

Run the server:

```bash
circles-ws [options]
```

### Options

- `--port`: Specify the port to run the server on (default: 8080)
- `--tick`: Specify the tick rate in milliseconds (default: 16)

### Controls

Once the server is running, you can use these keyboard controls:

- `o`: Open browser (create circle)
- `c`: Count connected clients
- `l`: Kick all clients
- `h`: Show help
- `q`: Quit the server

## Development

1. Clone the repository
2. Install dependencies: `npm install`
3. Run the server: `npm start`

## License

[NSDv1.0](LICENSE)