Comments (2)
I see some improvements for you.
- Move the
leds.show()
two lines up. Inside the if-statement. Don't update the LEDs on every frame, only if they match your universe-filter. - 1860 Channels take roughly 60ms by my calculations. Keep in mind that 30fps are only 33.3ms time in between two "frames". This way you can only achieve about 16fps on the LEDs. This is the theoretical upper limit.
- The implementation above has some problems too, even with my correction from point 1.
leds.show()
is called on every universe. That is 5x60ms equals 300ms! About 3fps. - Update the LEDs only on the last received universe. Writing to the LEDs takes time. The
setPixelColor()
call is fast. This solution assumes the 5 universes are send/received basically with no gap, an a "long" time after the last one.
These are my first tips. If it doesn't help come back and ask again.
from artnetwifi.
Good points! I'll try them out and will let you know what I find.
from artnetwifi.
Related Issues (20)
- Universe per ESP/node HOT 1
- startUniversity > 2 causes problems HOT 2
- Add buffer for 3 frames HOT 1
- LED strip stops working after some time with high FPS HOT 4
- Lag after 30 sec HOT 5
- LED state on receiving and not receiving HOT 1
- DMX-Workshop won't detect this HOT 4
- Send channels from 510 to 512
- I found an "ERROR" in your library with the software I'm using. HOT 3
- receive and transmit simultaneously HOT 2
- Const variables to Int variables HOT 2
- Unable to make a Artnet to DMX with esp_dmx HOT 4
- LED Panels Only Receiving Broadcast Artnet HOT 1
- BW16 (RTL8720DN) HOT 2
- add active universe in short name string HOT 1
- Add stop() function HOT 2
- Multiple ESP32 boards on one Universe with offset start adress HOT 1
- Error HOT 2
- Artnet Wifi connection lagging HOT 2
- Send Artnet to many host HOT 2
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 artnetwifi.