Live data from Hacker News

Show HN: Open source balloon simulation with Three.js

alexanderperrin.com.au

11–20 of 62 posts

Re: Show HN: Open source balloon simulation with Three.js

#12

A couple of years ago I produced this as a study into procedural heightmaps, shadow mapping and online geometry loading with Three.js. I had big plans for it but abandoned it half way. I found it on my hard-drive the other day and thought it might be worth putting up in the case that it's of any use to anyone! The project is full of performance issues and other weird things but hey I hope it's worth something! Enjoy.…

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

#14
post #3

Earlier quoted context omitted.

Im surprised, ever and ever again, how well this works on mobile.

Super glad it's working for you! May I ask what sort of device you're using? I'm quite curious.

Runs about 7fps on budget Android Samsung J530F, which cost 160 euros.

Re: Show HN: Open source balloon simulation with Three.js

#16

Pretty! There's a lot of little details I appreciated, like the little boats and piers, as well as the fact that the birds would move to avoid you if you tried to collide with them.

Thank you! I really wanted to add a bunch of other objects to decorate the landscape but it was a massive pain to get new models in. Glad you like what's there :)

Re: Show HN: Open source balloon simulation with Three.js

#18
post #15

Press space to see the world from another side. Use the left and right to 'steer'. Also checkout his Short Trip which was posted here some time ago: http://alexanderperrin.com.au/paper/shorttrip

How was short trip made? That's super dope

Re: Show HN: Open source balloon simulation with Three.js

#19

Pretty! There's a lot of little details I appreciated, like the little boats and piers, as well as the fact that the birds would move to avoid you if you tried to collide with them.

Thank you! I really wanted to add a bunch of other objects to decorate the landscape but it was a massive pain to get new models in. Glad you like what's there :)

Honestly, I'm not sure that's a loss; there's something very pleasing about the minimal aesthetic.

Re: Show HN: Open source balloon simulation with Three.js

#20

A couple of years ago I produced this as a study into procedural heightmaps, shadow mapping and online geometry loading with Three.js. I had big plans for it but abandoned it half way. I found it on my hard-drive the other day and thought it might be worth putting up in the case that it's of any use to anyone! The project is full of performance issues and other weird things but hey I hope it's worth something! Enjoy.…

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.

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!

Post reply on HN