Commit graph

66 commits

Author SHA1 Message Date
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
Jan Klopper
9b6190b186 Add pixel factor in the server so that clients ca push more effective pixels 2016-06-22 12:28:16 +02:00
Jan Klopper
d81f12480a Add javascript client
Add server cli options
2016-05-17 17:00:12 +02:00
Jan Klopper
e2c5aee5cc tinyfix 2016-04-28 22:39:43 +02:00
JanKlopper
5d4c250f89 Merge pull request #7 from CodePanter/master
Changed a few small things to improve ease of use.
2016-04-28 21:44:34 +02:00
Jan Klopper
235091aac7 add alpha blending in the server 2016-04-28 21:43:08 +02:00
CodePanter
a833d43ee0 A client's port will be 5005 when specifying an ip address and no port. 2016-04-28 20:28:28 +02:00
CodePanter
143debb5f6 Imported 'MAX_PIXELS' and replaced a hard coded pixel maximum. 2016-04-28 20:26:21 +02:00
CodePanter
f22e3a2a56 Pixels can no longer be added to a MaxSizeList if the list is full. 2016-04-28 20:24:37 +02:00
CodePanter
b638c79461 Prevented the 'SendDiscoveryPacket' from crashing. 2016-04-28 16:57:10 +02:00
CodePanter
8d9d03b69a Fixed a few typo's in the doc-strings and comments. 2016-04-28 16:46:03 +02:00
Jan Klopper
f5ed892bc1 Merge branch 'master' of github.com:JanKlopper/pixelvloed
Conflicts:
	client.py
2016-04-28 15:38:17 +02:00
Jan Klopper
b9ba710848 Add pylintrc file
Move client functions to vloed module,
simplify client file for newbee's,
Make sure the server module only starts operating when actually initialised
2016-04-28 15:34:57 +02:00
JanKlopper
2a76489c9f Merge pull request #6 from CodePanter/master
Turned debugging off by default again, increased the MaxSizeList to 142
2016-04-26 14:54:35 +02:00
CodePanter
e56d0b40ee Turned debugging off by default, increased the MaxSizeList to 142 (so it can fit 140 pixels) and prevented pixels from being drawn twice. 2016-04-26 14:47:32 +02:00
Jan Klopper
562ae26d7f Merge branch 'master' of github.com:JanKlopper/pixelvloed
Conflicts:
	vloed.py
2016-04-25 12:34:38 +02:00
Jan Klopper
9209bd989e add autodiscovery of server to client 2016-04-25 12:18:39 +02:00
JanKlopper
0fcbcff7f8 Merge pull request #5 from CodePanter/master
Fixed the problem with pixels missing in the message and prevented ge…
2016-04-07 22:11:38 +02:00
CodePanter
d781d85745 Fixed the problem with pixels missing in the message and prevented general exceptions from crashing the server. 2016-04-07 20:56:28 +02:00
Jan Klopper
060693625f add packet size limit to server,s et at 140 pixels atm 2016-04-06 10:11:05 +02:00
Jan Klopper
e573ab4d94 Add buffer to ouput 2016-04-05 21:54:22 +02:00