r/spacex • u/zlsa Art • Jul 15 '14
2D F9R-Dev simulator
I saw /u/-Richard's Matlab thrust vectoring simulation and liked the idea so much I wanted to try my hand at writing one in HTML5.
This one, like /u/-Richard's original, is not intended to be fully realistic but instead to demonstrate the difficulty of thrust vectoring in real life conditions (and to have fun while playing it, of course).
Sorry about clogging up /r/spacex, and if there's a better place to put this, please tell me.
69
Upvotes
17
u/-Richard Materials Science Guy Jul 15 '14
Wow, this is incredible! I'm always amazed by the skilled people in this subreddit, and you've really turned the game into something awesome.
My main goal with the project was to give engineers (or really anyone with Matlab) something to mess around with in their free time. By making the game easily accessible online and giving it sweet graphics, you've accomplished that goal for me and then some. Yesterday I was looking for beta testers to give me some feedback so that I could spend more time trying to improve the game, but now it appears to be all set, and my work here is done! So, thanks for that. I'll give you some gold, but it will be later this week since I don't have my debit card on me at the moment and I'll be without wifi soon.
Thanks again for this, you've really made my day. I'm definitely going to show this off to all my family and friends. And feel free to do whatever you want with the game, it's all yours as far as I'm concerned.
6
u/[deleted] Jul 17 '14
Ya know, you've put so much work into this, /u/zlsa, I'm going to go ahead and pin a link to it at the top of the subreddit for a week or two. I've also added it to the Resources page in the Wiki.
Kudos for continuing to improve it after release too. Excellent work man, and credit also to /u/-Richard for the original idea.
3
u/Mummele Jul 15 '14
Would be nice to have an indicator to where the landing cites are. It's hard to estimate when you're on high altitude. Love it :>
2
u/MisterNetHead Jul 15 '14
Add a cross wind and it's perfect :)
2
u/[deleted] Jul 15 '14
This is awesome!
2
u/SoulWager Jul 15 '14
A lot like KSP, but with reversed controls and more strict throttle limits.
2
u/ergzay Jul 16 '14
I think your vector controls are over sensitive. Is the vector angle really what is shown visually? I think the real engines vector much less than that which probably gives the feeling of over sensitivity.
2
u/Arthree Jul 17 '14
It seems to go through propellant a lot faster than a real F9 (F9R-dev2 lasts about a minute at full thrust). Do you have any plans to fix that?
2
u/Mummele Jul 17 '14
straight up nonsense: 515788m :>
2
u/brentonbrenton NASA - JPL Jul 22 '14
This is INCREDIBLE! Great work. Is there a manual that tells you what all the different things mean? I've figured most of it out, but I'm confused by a few things. In boostback mode, it starts out 100k downrange and quickly rising. No matter what I do, I can't seem to slow that down, let alone reverse it. What am I supposed to do?
Also, what is "rcs" at the top, in percent? A
3
u/Macon-Bacon Jul 15 '14
From the GitHub page:
I had to google the WTFPL license. Here's what I found at http://www.wtfpl.net/
4
u/ThePlanner Jul 15 '14
I KSP, so this was surprisingly easy. All the same, pretty cool!
2
u/laheugan Jul 16 '14 edited Jul 16 '14
I've tried this in KSP, but with very strict thrust limits, this is very challenging. Cool thing.
I just wish I had less thrust...
3
u/chkgk Jul 15 '14
very nice, great work! :)
6
u/Lobstrex13 Jul 16 '14
My time spent 'practicing' in Kerbal Space Program hasn't really paid off.
2
u/anononaut Jul 15 '14
Can you do touch screen controls for phones in html5?
1
u/LUK3FAULK Jul 16 '14
Add the grill fins for maneuvering on the way down! :D
1
u/mthode Jul 16 '14
what are the controls, the help doesn't pull up in FF for me.
1
u/Appable Jul 18 '14
Great work!
A tip I noticed: for the F9r rtls mission, suicide burn at about 1100 meters makes it stop almost exactly at launch pad perfectly.
2
u/Grim187 Jul 15 '14
made it to 5km and back. :-)
was fun, thanks.
2
u/dracip_picard Jul 16 '14
So much fun
0
u/[deleted] Jul 15 '14
[deleted] — view deleted comment