Wow this is really cool!
A few small suggestions if you are open to them.
  1. Start using BTC balance in the sliders for larger sums
  2. Allow settings specific values for these sliders
  3. Set this filter state in query parameters so it is shareable/savable
  4. Create a weighted mode where the width of channel line scales with channel balances.
Very cool stuff, keep it up!
@DiscoPay Update on #4). The weighted mode for channel capacity has been added!
You need to change the line primitive dropdown from gl-line to line-mesh then you can change the width of the channels.
The other dropdown that shows up when selecting line-mesh will allow you to either have uniform linewidth (all of them are the same), or you can select channel capacity and the width will scale with the capacity.
Attenuation (similar to node attenuation). Lines get smaller the farther they are from the camera.
reply
I appreciate the feedback.
  1. Very good idea. I think I will try to add an option in the settings to switch your unit, btc, msats, sats, etc.
  2. I could probably change the numbers on the slider to input fields if it doesn't take up too much space. Also it currently is possible to add custom filters with specific values, but that does require a very small amount of programming knowledge.
  3. I might be able to do it with the sliders specifically, but for all filters it might be a challenge due to space constraints in the url. The queries/filters are actually small JavaScript functions (and you can add custom ones), so if I wanted to expand it to all filters it would take up a lot of space in the url. Might be better to add an import/export to file option on the filters view or create an api for storing/downloading other people's filters.
  4. I will get to this eventually. I believe it is possible but due to webgl limitations it might be difficult to do correctly. There are examples here https://threejs.org/examples/?q=fat#webgl_lines_fat. It just might take some time to figure out how to replicate it.
reply