pull down to refresh
10 sats \ 2 replies \ @DiscoPay 23 May 2022 \ on: I made a 3D lightning explorer bitcoin
Wow this is really cool!
A few small suggestions if you are open to them.
- Start using BTC balance in the sliders for larger sums
- Allow settings specific values for these sliders
- Set this filter state in query parameters so it is shareable/savable
- 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.
-
Very good idea. I think I will try to add an option in the settings to switch your unit, btc, msats, sats, etc.
-
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.
-
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.
-
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