Hi everyone,
Over the past month or so, I have set the goal to learn a new programming language, python, for an upcoming job that I am looking into. In doing so, I have created a basic tool that will, in a way, code some funky trees code for you.
This tool is a good answer for the classic question: How do I get this part to activate when [insert flight data here] reaches a certain value?
If you would like me to create some more programs, then let me know! I have a few ideas that I would like to implement, such as a fuel calculator.
Web version (Highly recommended, cross-platform)
A web version of the program is available. To use it, click on this link.
Input values by typing them in, and pressing enter.
For mobile users PLEASE READ....
The program is not formatted for mobile, but it sort of works. To use it, click on the web version link.
- Your device MUST stay in vertical orientation for the program to work properly.
- Input values by tapping on the screen typing a value in, and pressing "return".
- Hide your keyboard after each input. Zoom out, and scroll down to see the next prompt.
The table that I formatted is completely broken on mobile, so I'll paste in a picture for you:
For advanced users... Click-to-run executable (WINDOWS ONLY):
Use this dropbox link and download the zipped file. There is also a text file that has instructions and disclaimers!
Extract (unzip) the folder. Its contains an executable (.exe) file named "Click To Run FunkyGen!", as well as other files that are necessary to run the program.
Double-click the "Click To Run FunkyGen!" executable.
Your computer will give you a warning, as I am not a certified software publisher. Confirm that you would like to run the program if you wish to use it.
Everything will happen through what looks like your command window. Yeah, it's old school. I do not plan to implement any other forms of UI, because I am using python for technical computing and data analysis.
About The Program
FunkyGen 1.0 is a very simple program that guides the user through making some comparative code. Essentially, it is the interactive version of this tutorial.
The program is pretty primitive, and is basically just a bunch of selection (if-else) structures. I coded this to get familiar with basic python syntax before diving into some more advanced (useful) program structures. I actually coded this a few weeks ago, and since then, I have created some other programs to help me with my coursework (a linear interpolator, some Euler's method stuff).
Disclaimers
I do not have any certification as a software developer. This means that, aside from my reputation on SP, there is no reason to trust me. Always be careful when downloading files from the internet, including files from SimplePlanes.
I sincerely believe in the integrity of any program that I distribute (i.e. there is no malware). However, my word can only go so far. If you do not trust me, then do not download these files. I will take no responsibility for any unforeseen damage caused to your computer. If any moderators are uncomfortable with me sharing executable files through the forums, then I will remove this post at your request.
@sheepsblood @SnoWFLakE0s @Nerfaddict An online version of the program is now available. It should run on all platforms. Please note that, while it is a pain to run on mobile, it does somewhat work.
also someone help me how do i paste this into the thing i wanted to add in
how to i select the part i want to be funky
@Pigeony The host removed the functionality to directly link code execution. Fortunately, this tool is obsolete
Gives me a 404 error when i click link :/
That's a really good idea! I'll try to make another useful helper in C++ lol
Someone can help me ?
i need make this when i move pitch or roll giroscope deactivated but when i don't touched roll or pitch giroscope activated but i have problem
When i use this code -Pitch
( i write this code into activationgroups slot )
Giroscope deactivated when i move pitch and activated when i don't touched it this is fine but
When i use this code -Pitch + -Roll giroscope deactivated and activated when i touched pitch or roll.
Why.
Can you help me to solve this problem?
@sheepsblood Awesome. Programming is also really useful in any technical field these days. I’m not pursuing CS, but my degree path (aerospace engineering) actually requires a good amount of coding!
@spefyjerbf I am going to show my daughters boyfriend your program. He is in college for computer science. I think it will be a good way to show him what he can do that is fun. He is a huge gamer so I am sure he can see benefit in making side programs like this one.
Hopefully he focuses on programming because I didn't when I got my computer science degree. I focused on networks. I still love networking but, I felt programming was difficult because I had no one to go to that I could ask questions that would have reinforced my understanding.
I still attempt to do some programming today but, I am so behind and have forgotten so much it proves difficult. Programming is math and if you forget the formula then you have forgotten everything.
@sheepsblood Thank you! Knowing that my programs are going to good use keeps me motivated to keep learning python!
@spefyjerbf Thank you for taking the time to create the online version. You have made SP that much more enjoyable and I am sure you have made very many people happy with your efforts.
It is people like YOU, @SnoWFLakE0s, @WNP78, @HellFireKoder, @Gestour and several others who make this game better every day. We all recognize the DEV's when we purchased this game and also when we continue to play it. We honor you all by using your tools you have created for the rest of us.
Thank you all very much.
@spefyjerbf
.
Awesome! So you did find a way to make it work out with repl. Cross platform, lightweight, and smooth. You've done everything you needed to do! Nice job.
This is a very nice thing to do for other people who may not be as...intellectual in coding!
Bookmark
@Nerfaddict The program is only compatible with Windows PC at the moment. However, once when I host it online, it should be usable on all platforms. I’ll let you all know when I put the script online, as I have an incredibly busy week coming up.
@spefyjerbf this android comapapkegjdxc
Compatible?
Just leaving a comment so I can check my comments and return to this forum later
@Brields95 Thank you!
@spefyjerbf
.
repl.it is the one that I know of that works reliably, I suppose there are also other online compilers that can do what you need without making source code visible.
@SnoWFLakE0s Repl.it should work for this program. I forgot about online resources like that. Do I have to have the source code visible though? I’m kindof embarassed by the amount of spaghetti that I used to make this program.
@SnoWFLakE0s All I focused on was the .exe and lost it from there. My squirrel brain does that ;)
@Freerider2142
Spefy, if everything is done through the command line, would you mind putting it on repl.it for other platforms perhaps? I'm fairly sure that would work... unless the program needs special resources to run.
@SnoWFLakE0s I have not tested this on a mac, so I honestly do not know if it is even compatible. I don’t really have the expertise or motivation to make it Mac compatible either.
@sheepsblood
.
If it's made through a Python script, and should spefy share it, then it's probably not difficult to port it to Mac. Or so I think.