Multiplayer X11 canvas
C Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE.txt
README.md
args.c
client.c
makefile
network.c
x11.c
xelflut.c
xelflut.h
xfds.c
xfds.h

README.md

xelflut

A multiplayer X11 canvas.

Based on the idea of pixelflut, as seen at EasterHegg '14.

Written directly against XRender so it should probably be pretty fast.

Version numbers approximate π.

The name

It's funny on so many levels, some of which come only with an understanding of the german language and more-or-less (probably less) great math and programming humour.

Building & Setup

Dependencies

  • A C compiler
  • make
  • libx11(-dev)
  • libxrender(-dev)

Build process

Run make.

Setup

None as of yet. Just run the resulting binary.

Usage

Run ./xelflut -h for some info on what you can do.

Within the window, press q to quit or c to clear the canvas.

Protocol

Lines of ASCII text commands separated by \n via TCP on port 3141, unless you configure it differently.

Send SIZE and the server responds with SIZE WIDTH HEIGHT

Send PX X Y RRGGBB or PX X Y RRGGBBAA to set a pixel to a hex color code.

There are some measures in place to limit the number of connections and pixels a client may have and set. Some are even configurable.

Bugs & Feedback

Please report bugs via the issue tracker.

If you use this on some kind of humungous screen or at a cool event, send me a picture (cb@cbcdn.com)!