Comments (7)
I have seen that a while ago but unfortunately the "YOLO License" is useless and does not allow anything to anyone, so effectively the linked repository is not open source and cannot be used without breaking copyright laws.
So, the last two days I wrote my own C server (based on OpenGL/GLFW and libevent). It's in the 'feature-pixelnuke' branch. I suck at C, but it works on my computer ;) Ayn help would be appreciated.
from pixelflut.
I am not any good ad C myself, But I have a Raspberry Pi right here that's mostly used for "HEY LET'S HAVE A PIXELFLUT PARTY". In other words: I can be your beta tester. I'm schaduling a Pixelflut thing for late april anyway, might as well use the C version
from pixelflut.
I'm not sure if this compiles or runs on a RasPI or what is needed to get it to compile. Would be a valuable target, though.
from pixelflut.
Also interesting: is python actually its bottleneck right now? The performance with ~20 people was not breathtaking. But this could also be the ("old") Pi 3's wonky network interface. I'll have to try this on a 3+, which is supposed to have slightly better/faster ethernet.
from pixelflut.
In Python the string handling is the bottleneck. Network traffic is split into lines, converted to string, stripped, splitted, parsed, and more. That causes a lot of intermediate string objects to be created. Parsing the byte data directly would improve the performance significantly.
On the other hand, the Python version is designed to be easily hackable and 'fair'. For example, there is a sleep call every 10 lines to limit the lines-per-second per client. Removing that would increase throughput a lot, but would also allow fast clients to draw hundreds of pixels at once, which might look less fluent on screen.
If pure throughput is your priority, there is sure a lot of room to improve the python implementation.
from pixelflut.
Really nice to hear that "Pixelflut parties" are a thing, though :)
from pixelflut.
We'll track Raspberry Pi compatibility in #8
from pixelflut.
Related Issues (9)
- Pixelwar colors are off for RGBA HOT 2
- Error in callback for 'TICK' HOT 1
- Add Support for animation feaure like in gartic phone HOT 2
- Syntax error when running Pixelflut on Python 3.10 HOT 1
- Clean Quit? HOT 3
- channelInactive calls the wrong base function HOT 1
- Make pixelnuke RasPI compatible
- pixelnuke compilation error HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixelflut.