No description
Find a file
Thomas van der Berg 1499890862 Simplify example Python client
- Move handling packet size out of RandomFill
 - Adds an InitMessage function to vloed.py to set message header
   without using NewMessage
 - No more exceptions in normal program flow!
2017-05-21 17:52:12 +02:00
C/Server Fixed the alpha applying on the server side. 2017-03-10 20:36:28 +01:00
.gitignore Initial commit 2016-03-02 12:19:40 +01:00
client.js Add javascript client 2016-05-17 17:00:12 +02:00
client.py Simplify example Python client 2017-05-21 17:52:12 +02:00
LICENSE Initial commit 2016-03-02 12:19:40 +01:00
protocol.md Fix some sentences / words in the protocol documentation. 2017-03-13 17:12:39 +01:00
pylintrc Add pylintrc file 2016-04-28 15:34:57 +02:00
README.md Update the readme to give some info on the various files 2016-11-28 11:13:33 +01:00
sdlvloed.py Fixed the specified sleep not being used on the sdl version. 2016-12-06 20:55:03 +01:00
vloed.py Simplify example Python client 2017-05-21 17:52:12 +02:00

pixelvloed

PixelVloed udp / binary transport PixelFlut version

You will find a bunch of files in this project, most noteworthy, A client, and a server for the pixelvloed protocol.

The server can be run on most machines and uses pygame or SDL to display the received pixels on the screen.

To start a server on a linux machine start: vloed.py

To start a server on a machine which has trouble getting Pygame to intall, eg a Mac OSX computer, start: sdlvloed.py

Both have a series of options: Options: -h, --help show this help message and exit -v (displays the version) -i IP (The UDP listen ip address) -p PORT (The UDP listen port) -x WIDTH (The width of the display) -y HEIGHT (The height of the display) -m MAXPIXELS (the max amount of pixels people can send in one packet) -f FACTOR (an optional pixel zoom factor, received pixels will be zoomed by this factor)

If you want to run a pixelvloed server on a raspberry PI (zero) you can start: vloed

Which can be compiled doing: gcc vloed.c -o vloed

On the client side:

You can use the python version which can be started with: client.py

You can also use the javascript/node version: client.js

These by default try to find a pixelvloed server and start sending random pixels Both clients also present options to set a static IP.

It is left as en exercise to the reader to code new fancy effects that target one or more screens.