2019-01-22 11:12:29 +01:00
|
|
|
# feature ideas
|
2021-01-01 14:55:29 +01:00
|
|
|
- more draw modes
|
|
|
|
- patterns
|
|
|
|
- https://github.com/MarcelMue/konstrukt ?
|
|
|
|
- image scaling
|
|
|
|
- snake
|
|
|
|
- sheep.exe
|
|
|
|
- offset rand: random size/color
|
|
|
|
- proper public api for the fast network handling
|
|
|
|
- `Fluter` abstraction, implementing `Reader` to update commands? ringbuffer?
|
2019-01-22 11:12:29 +01:00
|
|
|
- support animations / frame concept
|
2021-01-01 14:55:29 +01:00
|
|
|
- support (stackable) effects
|
|
|
|
- make job distribution fully P2P using [2D CAN / Z-ordercurve adressing](https://git.nroo.de/norwin/geo-dht)
|
2019-01-22 11:12:29 +01:00
|
|
|
|
|
|
|
# performance considerations
|
|
|
|
- server limitations: rendering is bottleneck. maybe artificial limitations (commands per draw, connections per IP, queue)
|
|
|
|
- when network isn't bottleneck: fetch each pixel & only send updates for wrong color (?)
|
|
|
|
- sync sending with draw frequency (?)
|
|
|
|
- use virtual subnets for more IPs (ipv6?) (?)
|
|
|
|
- client limitations: PCI bus is bottleneck? depends on HW I guess
|
|
|
|
- distribute across cores for max PCI bus saturation (?)
|
2021-01-01 14:55:29 +01:00
|
|
|
- use userland tcp stack (e.g. https://github.com/google/netstack or even https://github.com/luigirizzo/netmap)
|
2019-01-22 11:12:29 +01:00
|
|
|
- network limitations: packet size, ACKs, congestion
|
|
|
|
- treat benchmarks on `loopback` with care, it has no packet size limitation. real world interfaces will enforce a max size of 1514 bytes [1]
|
|
|
|
- avoid packet split if >1514B (?)
|
|
|
|
- use `TCP_NODELAY` (?)
|
|
|
|
- https://stackoverflow.com/questions/5832308/linux-loopback-performance-with-tcp-nodelay-enabled
|
|
|
|
- cognitive limitations: draw order
|
|
|
|
- randomized pixel order should give a better idea of the image with equal dominance (?)
|
2021-01-01 14:55:29 +01:00
|
|
|
- use an energy function like in seam carving to prioritize regions?
|