News for hackers. Stuff that matters.

swesnow

Very cool (I'm the developer of Harmonic) I'll be taking a look at this tomorrow for some inspiration and just to try it out :)
Re:Show HN: 2D Coulomb Gas Simulator on Tuesday February 17, 2026 @04:20AM (#47045349)
Thanks I agree it is mesmerizing!
Re:Show HN: 2D Coulomb Gas Simulator on Tuesday February 17, 2026 @04:20AM (#47045348)
True, you'd think Safari wouldn't let websites go so crazy with WebGPU :)
Re:Show HN: 2D Coulomb Gas Simulator on Tuesday February 17, 2026 @04:19AM (#47045335)
1: Sorry about that, the default 20,000 is to make it look nice on computers but I should probably drop it a bit for phones, that's reasonable. 2: Yeah this part is important and cool and not entirely obvious until you solve the differential equation. I did a 3D simulation of a somewhat related situation (Thompson problem) once. But it would be very interesting to figure out if there is a 3D potential function that gives uniform density in the same way as the Ginibri (Q(z) = |z|^2) potential. Good idea for future work :) 3: Make sure you try the lemniscate potentials as well which are not rotationally symmetric. I want to try adding even more potentials in the future but these two families are those which has been subject to the most research.

Thanks for playing around with the tool!

Show HN: 2D Coulomb Gas Simulator

https://simonhalvdansson.github.io/2D-Coulomb-Gas-Tools/index_gpu.html

A pretty simple but fun to play with simulator for a concept from mathematical physics called the "2D Coulomb gas". I originally made this for my Bachelor's thesis to create pretty pictures and build intuition but have recently gotten it a fresh coat of paint and better performance curtesy of WebGPU acceleration (ported with liberal help from Codex to get through all of the boilerplate).Play...

( Read More... | 9 comments | 16 points | on HN )

Show HN: 2D Coulomb Gas Simulator

https://simonhalvdansson.github.io/2D-Coulomb-Gas-Tools/index_gpu.html

A pretty simple but fun to play with simulator for a concept from mathematical physics called the "2D Coulomb gas". I originally made this for my Bachelor's thesis to create pretty pictures and build intuition but have recently gotten it a fresh coat of paint and better performance curtesy of WebGPU acceleration (ported with liberal help from Codex to get through all of the boilerplate).Play...

( Read More... | no comments | on HN )
Glad that you like it! It is a BottomSheet (https://m2.material.io/components/sheets-bottom) which is a Material design component from Google and they handle a lot of the complexity (although the implementation in the app has a few bugs) which is nice
Thank you very much! I actually made the logo with matplotlib by just plotting a bunch of sines with integer frequencies and put it together in Photoshop and feel like it's held up OK
Yeah a widget is something that would be nice - I don't use them heavily myself so I guess that's a big reason for why they are not there right now. I do remember Materialistic having a OK widget.
Very nice - I look forward to a PR. Contact me if you have some question about the code and I'll try to help you out :)
Yeah this is something that has been on my mind. It is possible because I know other apps do this but I haven't looked into details of the API. I totally get the appeal and have received many requests to add this.

THere is an option to export bookmarks in the bottom of the settings and technically if you are a very hardcore person you could set up a Python script to import them but of course this is way too hardcore for most people.

Oh I see, yeah on Android 9 you are getting a fallback color for when automatic theming is not available. I would recommend using the regular light theme as this has a green accent which I think is nicer on the eyes. I'll add a note to change to light material you fallback color because that does not look nice.
Hey thanks for the kind words! About the "tabbing" behavior; I know Sync for Reddit on tablets introduced a version of this a while back but as you say getting the UX of this correct on phones is very challenging but it is an interesting design challenge.

I get automatic reports on crashes and about 99% of them are WebView crashed in native code. I've Googled this a bit and am under the impression that these are unavoidable but I definitiely do not understand it. My impression is that they are due to bad performance but it is unclear if anything can be done from the app side to mitigate the issue.

The actual Java crashes (i.e. crashes in the Harmonic code) are relatively few according to the console data I have and mostly non-deterministic but if you have a crash you can replicate I'd appreciate if you can describe it so I can see if I can get the same behavior on my side.

Haha wow that's actually crazy that you switched phone partly because of Harmonic!

1. Deep linking used to work a couple years back but I think there was some Android change making it harder meaning you had to verify that you had ownership of the domain. Perhaps this is possible to bypass but I haven't looked into it.

2. This totally slipped my mind; I just found out there's an autofillHints attribute which you can give to text boxes - I'll try to get this fixed. Thanks :)

Glad you like it and thanks! There's been many feature requests over the years of that nature so I am glad they address the same pain points of multiple people.

As can be found in/values/themes.xml line 119, the accent color is one of the automatically extracted material you colors. Therefore you could change your wallpaper to change the color but I haven't got any plans to change the material you color used. However I don't use light mode and perhaps it is bad - in that case a change may perhaps be in order.

Thank you! It is partly - I use Sync for reddit as my reddit client and that is an inspiration for much of the UI however I did actually download Relay because I know it had some interesting UI choices and stole some ideas from there. It's amusing that it is noticable
Wow I never thought anyone would be so hardcore as to actually run Harmonic on windows subsystem and Chrome OS - I figured not a lot of people don't use the big screen mode and I mostly made the tablet changes for when I bought myself an Android tablet a couple of years back to use Harmonic more comfortably in the couch.

The GitHub issues is a very good point! I have a long Google Keep list with things I've been meaning to do and hadn't even thought about opening issues to guide to help. I'll try to get some of those up tomorrow :)

You're very right - and it's kind of hard to explain even to myself why. I'm glad its done now and people seem to be actually looking into the code
You're very welcome! Always nice to hear that someone has been happy with the app for a long time. Would be very cool if you could make some form of contribution. Again I apologize for the code being somewhat of a mess - it was not made with open source in mind but if you have any issues I'll try to help you out :)
Thank you! I agree that those are for sure the most important things. Glad it does the trick for you :)
Always good to hear from the day 1 OG:s :) I also went through the ritual of trying almost all available HN clients back in 2020 and being unhappy and Harmonic was the result. I'm glad it worked out the same way for you!
That is very kind of you to say - you're welcome!
Thank you! I am glad you appreciate the choice of focus! It does however make tweaking the app a bit harder at times but as long as it looks and behaves good I am happy as well :)
Good thought, fixed that now, thanks!
Good that I could convince you :) I hope to get around to posting it on F-Droid soon, it doesn't seem like too much work
That makes me very happy to read! And I'm glad that making it open source can increase your enjoyment

Older ยป