Commit graph

47 commits

Author SHA1 Message Date
CodePanter
3020d9ca0d Fixed the updated udp_ip and udp_port not being used. 2016-11-24 21:07:40 +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
Jan Klopper
2ad6f4f110 Merge branch 'master' of github.com:JanKlopper/pixelvloed
Conflicts:
	vloed.py
2016-04-01 09:05:24 +02:00
Jan Klopper
37cd5ba80e forgot to look for the changed var 2016-04-01 09:04:01 +02:00
JanKlopper
0f132cb6ce Merge pull request #4 from CodePanter/master
Fixed several bugs and did some general optimisation.
2016-03-31 20:26:22 +02:00
CodePanter
0df6d9a5cd Fixed several bugs and did some general optimisation. 2016-03-31 20:23:03 +02:00
Jan Klopper
e060ccdf6b add 1 fps wait if there's nothing to do, also add some comments and work with the screen as a array instead of trough set_at 2016-03-31 17:04:22 +02:00
Jan Klopper
c9c45df928 rework loops to return at least once per fps 2016-03-31 16:31:51 +02:00
Jan Klopper
da2f29c38a typo 2016-03-31 14:18:39 +02:00
Jan Klopper
83d1c4b46c Make some loops only run when needed, defer pygame updates if nothing changed since last update
Draw all packets in queue at once if we get the chance.
2016-03-31 14:00:47 +02:00
JanKlopper
31b02f426b Merge pull request #3 from CodePanter/master
Optimized pygame, and moved 'packetformat' out of the for loop.
2016-03-27 14:29:26 +02:00
CodePanter
4544b3d302 Optimized pygame, and moved 'packetformat' out of the for loop. 2016-03-26 23:26:19 +01:00
JanKlopper
aca73688c0 Merge pull request #2 from CodePanter/master
Improved performance by replacing the 'threading', 'socket' and 'Queu…
2016-03-15 19:30:26 +01:00
CodePanter
df73d17c44 Improved performance by replacing the 'threading', 'socket' and 'Queue' modules with gevent's more efficient modules. 2016-03-11 20:15:24 +01:00
JanKlopper
67a9085262 Merge pull request #1 from CodePanter/master
Implemented threads and a forced framerate.
2016-03-03 21:59:18 +01:00
CodePanter
c5272c6439 Implemented threads and a forced framerate. 2016-03-03 21:55:17 +01:00
Jan Klopper
b5d7f5c066 First version of PixelVloed, a UDP/Binary PixelFlut server/client 2016-03-02 12:21:03 +01:00
JanKlopper
c63f337d56 Initial commit 2016-03-02 12:19:40 +01:00