jvranish / websocketd_examples

A few examples of using websocketd to visualize output from a command line utility

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

websocketd_examples

A few examples of using websocketd to visualize output from a command line utility

To run the examples, you'll need http://websocketd.com and base installs of ruby and python.

ADC readings charting example

To try out the adc example:

cd adc

First, if you want to see the output of the script by running it directly:

python fake_read_adc.py

Then if you want to see the output plotted nicely in the browser using smoothie charts:

./start_server.sh

Then point your browser at http://localhost:8080

Search algorithm coordinate plotting example

To try out the search examples:

cd coordinates

To try out the box search:

./start_server_box.sh

And point your browser at http://localhost:8080 To try out the sprial search:

./start_server_spiral.sh

And again point your browser at http://localhost:8080

About

A few examples of using websocketd to visualize output from a command line utility

License:Other


Languages

Language:JavaScript 87.8%Language:HTML 5.3%Language:Ruby 4.0%Language:Python 2.3%Language:Shell 0.6%