Julia implementation of the pixelflut protocol.
Provides functions for client and server applications.
A pixelflut server is provided as PixelFlut.Server.
A viewer client is provided as PixelFlut.Viewer.
This client connects to a pixelflut server and copies it's contents into a framebuffer.
Server example:
julia -t 8 -e "using PixelFlut; PixelFlut.run(PixelFlut.Server((512, 512))"Vary thread count and canvas size as needed.
Viewer example:
julia -t 8 -e "using PixelFlut; PixelFlut.run(PixelFlut.Viewer(\"127.0.0.1\", 1337))"Adapt as needed.
HELP\n: Show a help messageSIZE\nReturn(width, height)of canvasPX {x} {y}\n: ReturnRRGGBBof pixel at(x, y)asPX {x} {y} {RRGGBB}\nPX {x} {y} RRGGBB\n: Set pixel at(x, y)toRRGGBBPX {x} {y} RRGGBBAA\n: Set pixel at(x, y)toRRGGBBAA
Connect to server and send the respective command.
For example the following sets the pixel at (1, 2) to red:
echo "PX 1 2 FF0000\n" | netcat 127.0.0.1 1337