Table of Contents
Just a second...

Demos

The demos in the Demos section of the default Diffusion™ installation web page demonstrate various applications of Diffusion. They also contain a connection widget, allowing you to modify the transports used as well as inspect messages incoming and outgoing from the client.

To access the Diffusion web page and demos, start the web server and type in the following URL into a browser: http://localhost:8080.

Table 1. Demos provided with the Diffusion server
Tech Magnets demo This demo provides an example of shared state handled by Diffusion. Tiles are created on the server in response to client actions. When a tile is moved by the client, a message is sent to the Diffusion server, the state is modified and an exclusive message is sent to all other subscribers. Open this demo in multiple browsers to see the realtime DOM updates.
Drawing Board demo Multiple users draw on a virtual blackboard with colored chalk. All clients are updated in real time with strokes from the other clients. Open this demo in multiple browsers to see the responsiveness of client interactions. Requires Canvas support in the browser.
Dogfight (game) demo Aerial combat game for up to 8 players. Use the arrow keys to control your plane and the space key to fire. Uses HTML 5 features.
Asset Trader View and trade on our cross-platform FX trading demo where price feeds, instruments, news, and user interactions are all distributed in real time.