Offline

Monumental Robot Arm

This is a simple demo of Cloudflare Workers & Durable objects as backend for controlling the state of the system with WebSockets. The cube size is controlled with input range and the state is updated in the backend, which echoes it back to frontend. And upon receiving the new state, the frontend updates the cube size in the canvas.

When you're done playing, you can close the connection below and any further change in input won't work until you refresh the page.


Cube Size:

Incoming Web Socket Data