Commit graph

86 commits

Author SHA1 Message Date
3be09c16d0 nix: python devshell 2026-07-18 21:11:24 +02:00
c6a295a4e5 update python 2026-07-18 21:11:07 +02:00
JanKlopper
67f9aa6a69
Merge pull request #22 from sshine/sshine-protocol-fixes
Improve protocol documentation
2021-02-01 10:22:23 +01:00
Simon Shine
db24fbd8a4
Revise PixelVloed protocol documentation
Fixed copy/paste bugs:
 - Protocol 3 does not support alpha.
 - Protocol 1 does not use 8+8 bits per X/Y coordinate.

Improved description:
 - Convert introduction to bullet-points.
 - Simplified headers for better links.
 - Added example with calculations to protocol 0.
 - Moved "Only supported ..." messages below header (in bold).
 - Describe protocols in terms of one another.
2020-08-17 02:53:51 +02:00
Simon Shine
a932a1210a
Format Markdown for better GitHub rendering
This includes:
 - Spacing after headers (on line, after line)
 - Dashes before bullet lists
 - Code examples surrounded by triple-backticks
2020-08-17 01:20:45 +02:00
Jan Klopper
07cd3eb9ed Fix selection of effect 2018-04-03 16:15:26 +02:00
Jan Klopper
dd72459b24 Clean up some stuff, add effect cli option, add cli help, make things more beginnner friendly 2017-07-20 11:14:17 +02:00
Jan Klopper
a001e41a8b Clean up some code, add __del__ handler, make methods and names more clear for inexperienced users, handle keyboard exits, add server autodiscovery questions if multiple servers are found 2017-06-16 15:14:11 +02:00
Jan Klopper
52adfbbe66 Merge branch 'master' of github.com:JanKlopper/pixelvloed 2017-06-16 14:22:25 +02:00
Jan Klopper
2fcfc6773c Bit of cleanup, and some fixes in the docs 2017-06-16 14:21:58 +02:00
JanKlopper
80e29eab58 Merge pull request #21 from tmsbrg/simplify2
Simplify example Python client
2017-06-16 13:41:29 +02:00
Thomas van der Berg
82892cae7a Simplify client using new Packet class
Packet is a list of pixels that automatically sends pixels if it
reaches the max packet size. Client code has been simplified using
this class.
2017-06-15 20:20:20 +02:00
JanKlopper
6980425ff7 Merge pull request #19 from tmsbrg/requirements
Add requirements file for pixelvloed server
2017-05-30 13:52:15 +02:00
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
Thomas van der Berg
285212226c Add requirements file for pixelvloed server 2017-04-06 10:36:43 +02:00
Jan Klopper
d15f225b66 Fix some sentences / words in the protocol documentation. 2017-03-13 17:12:39 +01:00
JanKlopper
c211b5452e Merge pull request #18 from Hylke44/master
New documentation and alpha channel code in the server
2017-03-13 15:43:31 +01:00
Hylke44
35ce046be0 Changed protocol description file to support github markdown. 2017-03-10 20:50:57 +01:00
Hylke44
2bf04a9d52 Fixed the alpha applying on the server side. 2017-03-10 20:36:28 +01:00
Hylke44
d9594f1ea3 Updated the protocol description.
Protocol version 1, 2 and 3 added.
2017-03-10 20:32:41 +01:00
Jan Klopper
922b090b8e Some fixes, cleanups, and less magic numbers 2017-02-21 14:31:28 +01:00
JanKlopper
c9c13b4271 Merge pull request #16 from Hylke44/master
merge Hylke's version into the C server
2017-02-21 14:06:47 +01:00
Hylke44
e26592df19 Modified for use for eth0 2017-02-18 01:24:00 +01:00
HylkeV
bea3ec8fec Added support for different pixelformats. 2016-12-08 19:50:30 +01:00
HylkeV
3f53f337c7 Moved screen buffer code to seperate file. 2016-12-07 20:34:08 +01:00
JanKlopper
d10d44af6b Merge pull request #14 from CodePanter/master
Fixed the specified sleep not being used in the SendPacket functions.
2016-12-06 21:06:17 +01:00
CodePanter
b2209909bf Fixed the specified sleep not being used on the sdl version. 2016-12-06 20:55:03 +01:00
CodePanter
e204264680 Fixed the specified sleep not being used. 2016-12-06 20:53:49 +01:00
Jan Klopper
6356fa9f6f Update the readme to give some info on the various files 2016-11-28 11:13:33 +01:00
JanKlopper
7bfbdb6bdc Merge pull request #13 from CodePanter/master
Updated sdlvloed.py so it has the same functionality as vloed.py.
2016-11-27 17:28:17 +01:00
CodePanter
1e9694d4a1 Implemented display resolution autodetection for the sdl server version. 2016-11-27 11:34:37 +01:00
CodePanter
9678939aa0 Updated the sdl version so it is just as usable as the pygame version. 2016-11-26 15:50:36 +01:00
CodePanter
6e27713ace Added extra usability in the SendPacket function of the SDL version. 2016-11-26 15:41:41 +01:00
CodePanter
62bfc50767 Fixed the command line specified udp_ip and udp_port not being used for broadcasting in the SDL version. 2016-11-26 15:40:14 +01:00
CodePanter
d2a251430c Removed an unnecessary print statement. 2016-11-26 14:18:16 +01:00
JanKlopper
e385edb46a Merge pull request #12 from CodePanter/master
Implemented autodetection for the screen size and removed the default…
2016-11-24 21:58:11 +01:00
CodePanter
1103ded241 Implemented autodetection for the screen size and removed the default screen size variables as a result. 2016-11-24 21:42:21 +01:00
JanKlopper
7c07c1e057 Merge pull request #11 from CodePanter/master
Fixed the updated udp_ip and udp_port not being used.
2016-11-24 21:09:37 +01:00
CodePanter
3020d9ca0d Fixed the updated udp_ip and udp_port not being used. 2016-11-24 21:07:40 +01:00
JanKlopper
51ced30a23 Merge pull request #10 from CodePanter/master
Fixed a bug (wrong IP in broadcast packets when user assigns an IP in code and gives one on the cli) and improved a feature to allow custom sleeps in sendpixels.
2016-11-23 09:16:06 +01:00
CodePanter
1c831d022a The IP and/or Port specified from the commandline will also be broadcasted to the clients. 2016-11-22 22:34:57 +01:00
CodePanter
34d7cad6cd Changed the 'sleep' variable in PixelVloedClient.SendPacket into a float. 2016-11-22 22:29:49 +01:00
Jan Klopper
59a9a06952 Make sure the monkey patching stuff gevent requires is imported at start, so we dont get an exception on close time 2016-09-09 13:04:12 +02:00
JanKlopper
2bc9ff5ca4 Merge pull request #9 from CodePanter/master
Moved the 'gevent' and 'pygame' imports and the 'PixelVloedServer' cl…
2016-09-07 10:26:41 +02:00
CodePanter
c38cab64b6 Moved the 'gevent' and 'pygame' imports and the 'PixelVloedServer' class to inside the 'if __name__ == '__main__'' section. This will make it possible for users to use the client code, without needing to install gevent and pygame. 2016-09-06 20:26:19 +02:00
Jan Klopper
44b38071fc The rasp Zero has red/blue inverted 2016-08-18 20:50:16 +02:00
Jan Klopper
a4b7b9ed85 Add C server version, works on raspi Zero with vga666 driver and Dsub out on the GPIO 2016-07-12 20:07:52 +02:00
Jan Klopper
d2f58a6640 Add cli options to the client class, clean up the SDL version a bit 2016-07-12 18:37:32 +02:00
Jan Klopper
4e22d0187e Add sdl version of pixelvloed server 2016-06-30 18:34:22 +02:00
Jan Klopper
9cfae29dc7 add exit messages and make sure we dont trigger some weird threading keyError that happens on python clean up by calling monkey patching as first import 2016-06-22 12:44:44 +02:00