Wow, this is so unbelievably unoptimized. The sound of my computer fans makes it so immersive.
The shadow map is being rendered twice with 300+ draw calls and 1M+ triangles. Full resolution GTAO is probably even more expensive with a lot of fetches per texel. I'm sure there are a ton of low hanging optimization fruits and I'm confident claude et. al can fix all those issues, but if you don't know where to look and never profile the app then you get a vibe coded unoptimized mess.
It's a work in progress. I have cut down on the original mesh size by quite a bit but continue to do that. I also fade out the resolution of the map tiles as you approach the horizon so you aren't loading ihgher res satellite images than you need. I've run entire flights on my 2022 mac pro with no issue, but as this is a side project it remains not as optimal as it could be. Any suggestions for order of operations / what should be fixed next are welcome :-)
awesome, I will look at each of these, one at a time. my bigger issue today was that I was not expecting so many people to try the app and have unoptimized bandwidth costs. bringing those down first and then will be looking into optimizations like you have listed. I honestly just built this thing for fun & it was running fine for me. now that others are using it it's time to start thinking about performance more. Appreciate the thoughts.
That one predates vibe coding by quite a few years though: a lot of hard work went into Goat Simulator, and there were no doubt other more obvious choices for how the developers spent their time, but they still chose to make Goat Simulator.
Also it's a geninue game with goals to complete, mainly cribbing from games like the Tony Hawk's series.
Two separate categories: Meme games[*] don't have to be vibecoded, not all vibecoded things become meme games.
[*] A "meme game" being a game which is tries to be ridiculous and is predominantly popular because of social media exposure. I would include games like Goat Simulator, Horse Magnifier, Squirrel with a Gun, QWOP, Untitled Goose Game, Trollface Quest...
Nonwithstanding the human fascination with simulation and simulacra, Airplanes and Air Travel represent a fascinating cultural touchpoint with much insight and depth to plumb depending on what aspects you simulate.
For example, think of a history class charting flight from the Wright Brothers, through the Golden Age of Aviation, right to the present day. Even showing the drastic differences pre and post 9/11 by reference to the processes and experiences of commercial airline travel would represent a worthy pedagogical endeavour. We do a lot more to achieve a lot less in terms of making 'history come alive' currently.
A game where you're narcoleptic and keep falling asleep at random unannounced times. While taking a flight from A to B, you wake up at different times entirely, on the same (or an equivalent) flight, seeing whatever was going on back then. Sometimes it's a flight with the Wright Brothers, sometimes you're flying during WWII, and sometimes you might just be on the plane heading towards the twin towers (right as you wake up back on your own original flight). Maybe even some mini-games where you might have the chance to foil a hijacking in progress, or maybe you need to be "the doctor on the plane", or maybe you wake up as the guy that's carrying the crying baby. You never know when, where, or who you'll wake up as.
Every once in a while I would put Flight Simulator 2020 on my desktop and work on my laptop. I found that watching the digital world pass by while working put me in a slightly different headspace. Not sure it increased productivity but working while sitting in an actual plane does provide me a bit of focus.
Train ride videos on YouTube scratch some of the same itch.
You know what? I had fear of flying. I did a training with a pilot in a simulator, but it was in the cockpit. I don't have fear of flying in a simulator or in the cockpit. I have fear of flying as a passenger, I'm sit in a chair. That's what I would have liked during my training. I told that to Air France and they did not understand but this might seriously be useful.
Also useful for people who want to ride along with someone currently on a plane. "Honey, you are over Kansas right now!"
Useless things tend to be deeply useful to a select few.
I am loving this "re-weirding" of the internet. For the younglings, this is very much the sort of pet project that would bubble up in early internet days. No startup raising money, no pain point necessarily being solved, just one person's idea lovingly rendered to life.
I should have known he had views like this. I've heard similar things expressed and I believe this sentiment personally, but I'm happy to know I can add his name and the original quotation to my archives.
UAL used to let you listen into the cockpit to ATC chatter: https://news.ycombinator.com/item?id=17656352 — I understand this was really helpful for calming some passengers' nerves during flying.
BA (and presumably other airlines) run fear-of-flying courses where you have some ground sessions with flight crew explaining what happens during takeoff/landing, what noises you might hear, etc. Then you go up for a short flight as a passenger to sort of re-enforce what you learned earlier.
I don't think you can completely eliminate this as people naturally don't like giving up their agency which is usually going to produce at least a low level of anxiety.
Agency and information in a way. I actually feel safer in a tiny 4 seater plane than a jet, even though objectively that's probably backwards. Being able to look at all the parts of the plane, how the movements derive from the pilot's actions, actually see out the front, it is more reassuring. More similar to being a passenger in someone's car. It probably doesn't hurt that it is easier for my mind to imagine a Cessna gliding gently to earth than a passenger jet.
I’m not at ease in an airplane. I rarely fly but i actually like it, but I’m really anxious.
What helps me is always taking a seat near the wings. First that’s where the plane moves the less. And moreover, it’s pretty reassuring watching them supporting the plane in their great stability, they always move way slower than the cabin.
Plus you can alert the crew if something's off before take off (eg. loose/missing screws/panels). A forner colleague of mine did that, and got to see the entire maintenance crew come out for an impromptu RCA and incident response.
Interesting, thanks for the idea. Would be pretty cool if this app did have some real-world applications, beyond being a bit of a meme app. Thanks for the comment!
well, actually I had tested in iphone and did some things to but back on mesh size & also streaming terrain so that I'm not overrendering textures. I have not tested on all devices as I only have one mobile device. The tradeoff is render quality - maybe I'll make a lower triangle or 2K texture mode?
Hahaha this is awesome. I can teach what it's like to be on an airplane to my friend who has never flown before.
Currently playing on my usual route, ICN -> HKG. The flight path is too ideal. Due to airspace restrictions in china, almost every flight has to divert over taiwan in real life, but this one cuts thru mainland china.
Sitting all alone in the plane I'm reminded of the movie Knight and Day (Tom Cruise, Cameron Diaz) where they are nearly the only passengers (with some adversaries).
Kindly simulate two hours of queuing at the Schengen border, a coin toss minigame over whether security is “laptops in” or “laptops out”, bonus if your belt pings, lounge access roulette, wailing infant(s), guy two rows back with the worst most productive cough you ever heard (still got that old N95?), retaining status planning spreadsheets, baggage systems failure at Denver, people using the loos in their socks, unstaffed rentals counter, tired neighbour using your shoulder as a pillow, Franz Kafka’s “The SSSS Boarding Pass”, guy who won’t close the damn window shade, creepily accurate PRC face recognition systems, shuttle bus orienteering challenge, Emerald ass-kissing, lost at Doha, cabin uncomfortably warm mid-flight, world’s most disappointing beef, go-around three times at Queenstown and diverted to Christchurch again, passport reader unresponsive, 7.1kg carryon rule nazi, 30 minutes of taxiing, US domestic “lounge” with no facilities at all and nowhere to sit, drunk British lady, gigantic American guy, bassinet accident, Tight Connection Sprint, can’t quite name the minor TV celeb in 1A, Hong Kong Monsoon Warning, crew yelling “sit down sir the seatbelt sign is still on”, toilet scrum during long final after breakfast on the redeye, and (my favourite) the consequences of sitting in an exit row and when they give you the briefing and ask if you’re willing to follow these instructions in an emergency, saying brightly “Looking forward to it!”
you missed (not a complete list): the TSA travelling over to your country to give to their "was it as good for you as it was for me" inspection on your home soil, the non stop 16h conversation between two strangers right behind you, 45min of bus ride following the 30min of taxi, followed by catching an uber between the international and domestic terminals, carry-on luggage overhead tetris, people somehow coming on the plane with 4 or 5 large pieces of carry-on, the "can you swap seats with me and my middle seat because my partner/child is next to you" tap on the shoulder, the "Missed The Tight Connection" walk of shame, the overnight in a cheap hotel miles out of town because it was the airlines fault, the body odour buddy, the snorer, the last minute departure gate change, the 2h on the tarmac at ATL due to thunder storms, and the ironic applause when a nervous pilot puts you all down rather bumpily.
This is brilliant. Future enhancements can match the inner design of the plane to the actual plane used for that route by that airline, and the ability to choose economy, premium plus, busines class, etc...
Waiting eagerly for the "crying baby" extension pack. The "get to your seat" MMO. And the "I want to pee, but the guy next to me is sleeping" campaign.
Also, inflightsimulator: 1980, with ashtrays and lethal weapon playing on dropdown TV sets
Or the passenger who is friendly and wants your window seat, but doesn't want to straight out say it. Then turns deranged when they find out they are in the middle seat for the whole flight.
What a great idea! How about, a kid behind kicking your chair, the person in front of you abruptly putting his seat back all the way, and a person of size next to you spilling into your seat.
Nice concept but It would've been better if you don't force people to sign in with the auth box always shown I had to delete it from the node tree using chrome devtools. also why not enable WASD keys or even arrow keys to move?
This is fun. I would love if it used real flights, and filled the cabin with the avatars of anyone else "on" that flight.
Slight bug report - might just be HN hug-of-death related - on Arc browser, mostly without it as the active tab, I seem to have been stuck over Slough for some time (an ignoble fate).
I believe Arc reduces resources allocated to background tabs, and I don't think it likes being a background tab.
I like how much work you've put into just being a passenger :) I'm building a little world in the browser myself, so I like finding projects like this.
I was hoping for a very detailed menu with more flight avionics in the in flight entertainment screen but I guess the speed and altitude in the HUD is all I get. I want to know the exact plane T am flying in
It's lovely, but its flight physics model could use some updates. For example, there's no SkyMall, no Biscoff cookies, and no flight attendant (or on-screen video) giving a humorous, memeable explanation of the plane's rules and safety features.
Next up: Airport Simulator! Enjoy security, customs, and the inevitable panic of missing your gate across more than 50 international airports around the world!
- as I mentioned above, the shadow map is drawn twice, probably it's being auto updated by three.js at some point
- the entire cabin has a lot of triangles while the player only sees a small portion of it
- cabin lighting could be baked
- a lot of triangles seem to be rendered without backface culling, that's probably not intentional
- don't run GTAO at full resolution, try half
And also, use the spector.js [1] browser extension to profile the app and have your AI agent analyze the capture.
[1]: https://spector.babylonjs.com/
"Gtao technique" was more helpful: Ground Truth Ambient Occlusion
https://store.steampowered.com/app/931310/Airplane_Mode/
And 10 euro, lol. I'll just go with the free one, thank you.
I can understand slow games like EuroTruck or Farming Sim. But what's the point of this?
https://en.wikipedia.org/wiki/Goat_Simulator
Two separate categories: Meme games[*] don't have to be vibecoded, not all vibecoded things become meme games.
[*] A "meme game" being a game which is tries to be ridiculous and is predominantly popular because of social media exposure. I would include games like Goat Simulator, Horse Magnifier, Squirrel with a Gun, QWOP, Untitled Goose Game, Trollface Quest...
For example, think of a history class charting flight from the Wright Brothers, through the Golden Age of Aviation, right to the present day. Even showing the drastic differences pre and post 9/11 by reference to the processes and experiences of commercial airline travel would represent a worthy pedagogical endeavour. We do a lot more to achieve a lot less in terms of making 'history come alive' currently.
Train ride videos on YouTube scratch some of the same itch.
Useless things tend to be deeply useful to a select few.
I am loving this "re-weirding" of the internet. For the younglings, this is very much the sort of pet project that would bubble up in early internet days. No startup raising money, no pain point necessarily being solved, just one person's idea lovingly rendered to life.
https://flyingwithconfidence.com/
What helps me is always taking a seat near the wings. First that’s where the plane moves the less. And moreover, it’s pretty reassuring watching them supporting the plane in their great stability, they always move way slower than the cabin.
I have similar problems being a passenger in an uber for more than 15 mins. I lose my mind on roadtrips when it's not my turn to drive.
Currently playing on my usual route, ICN -> HKG. The flight path is too ideal. Due to airspace restrictions in china, almost every flight has to divert over taiwan in real life, but this one cuts thru mainland china.
I love air travel.
Gait recognition, too?
Would love to see this open source and extended!
Waiting eagerly for the "crying baby" extension pack. The "get to your seat" MMO. And the "I want to pee, but the guy next to me is sleeping" campaign.
Also, inflightsimulator: 1980, with ashtrays and lethal weapon playing on dropdown TV sets
Except if you're the main character of a plot !
Slight bug report - might just be HN hug-of-death related - on Arc browser, mostly without it as the active tab, I seem to have been stuck over Slough for some time (an ignoble fate).
I believe Arc reduces resources allocated to background tabs, and I don't think it likes being a background tab.
EDIT: which is true to form on some airlines lol (but on others, even hard is trivial)
(Kill the login panel though —- it wouldn’t go away for me)
It's small but a beautiful flight!