Show HN: Open source balloon simulation with Three.js
alexanderperrin.com.au
alexanderperrin.com.au
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.
Code lives here: https://github.com/alexanderperrin/threejs-ballooning
Works on desktop and (most) mobiles. You can use the arrow keys or touch the screen to move the balloon.
On my low end Samsung J3, it is rather choppy, but I feel it can be improved, given that this animation is lovely and smooth: http://campoallecomete.it/#!/en
I think people assume rather quickly that animation in a mobile browser will be janky. Truth is, if done well, it really doesn't need to be.
I'm certain other places do too.
[1] https://www.gigastore.sk/4-az-48-vcetne/myphone-pocket-cerny...
I want one, but 4 hours seems too short for me
It's a nice thing. Best feature is the flap, imo. all tablet-like devices should have them! I've not got the proper keyboard, but am tempted.
The future is a strange place.
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!
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
"Waah stop the traain there is a station coming up!"
When CSS3 and jQuery first started gaining some traction (<8 years ago?), I tried a bunch of animations using layered images and image transformations. One of these "dreams" was of some hot air balloons as well. Desktop only:
https://technotarek.com/sky (first balloon appears at ~10s)
My favorite was a simple tail wag (https://technotarek.com/cat).
Edit: noted desktop only
I'm curious about your background. I've built games (and hacked SNES games), but always leaned heavily on others for art and audio, and I'm curious if those were skills you had coming into your projects.
Aren't you going to finish it?
Glad you like the look of it though! Perhaps it'll start up again some day...
Yeah! I compare this to a lot of the work I'm doing currently and I start to wonder what on earth I'm doing... Gotta get back to pointless Three.js experiments! They were good days.
The embedded work is basically done, but he was considering using JS and three.js, any suggestions/advice?
I personally love it for the reason that it doesn't automagically do everything for you, and in that way if you've got any sort of experience with computer graphics and game engines then it's got a really gentle and intuitive learning curve. This said, if you're looking to get up-and-running with something really quickly or rapid prototype then you might want to look at something like https://pixijs.io.
I also wonder, if you're looking to do physical or live performance work then maybe it would be worth looking into something battle-tested and robust like Touch Designer? Not free like JS of course, but could be much more suited to a high-stakes live performance scenario as it sounds like he's putting together.