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
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