News for hackers. Stuff that matters.
Re:Show HN: Open source balloon simulation with Three.js by johnmarinelli on Tuesday February 12, 2019 @04:51AM (#19142258)
Nice pastoral-feeling work. In the readme you feature "Shore detection algorithms for boathouse placement". Does the algorithm have a name, or did you create it from scratch? I'd be curious to learn how it works.
Re:Show HN: Open source balloon simulation with Three.js by alexanderperrin on Tuesday February 12, 2019 @05:28AM (#19142414)
Thanks! I actually can't remember exactly how it worked, but I think it was a pretty simple process of selecting points at the level of the water combined with some sort of normal calculation. Just used it for placing the boathouses in semi-logical locations.

I should probably take it out of the readme just in case someone gets all excited and then disappointed when they realise it's all smoke and mirrors and nonsense. Ha!