Profile image

FunkyGen 1.0 - A Tool for Creating Comparative Funky Trees Input

162k spefyjerbf  4.8 years ago

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):

  1. Use this dropbox link and download the zipped file. There is also a text file that has instructions and disclaimers!

  2. 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.

  3. Double-click the "Click To Run FunkyGen!" executable.

  4. 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.

  5. 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.

  • Log in to leave a comment
  • Profile image
    162k spefyjerbf

    @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.

    Pinned 4.8 years ago
  • Profile image

    also someone help me how do i paste this into the thing i wanted to add in

    1.8 years ago
  • Profile image

    how to i select the part i want to be funky

    1.8 years ago
  • Profile image
    162k spefyjerbf

    @Pigeony The host removed the functionality to directly link code execution. Fortunately, this tool is obsolete

    3.1 years ago
  • Profile image
    4,786 Pigeony

    Gives me a 404 error when i click link :/

    3.1 years ago
  • Profile image
    16.7k MrGreen

    That's a really good idea! I'll try to make another useful helper in C++ lol

    +1 3.5 years ago
  • Profile image

    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?

    4.8 years ago
  • Profile image
    162k spefyjerbf

    @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!

    4.8 years ago
  • Profile image
    20.3k MAINE

    @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.

    +1 4.8 years ago
  • Profile image
    162k spefyjerbf

    @sheepsblood Thank you! Knowing that my programs are going to good use keeps me motivated to keep learning python!

    4.8 years ago
  • Profile image
    20.3k MAINE

    @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.

    +1 4.8 years ago
  • Profile image
    67.1k SnoWFLakE0s

    @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.

    +1 4.8 years ago
  • Profile image
    11.5k shipster

    This is a very nice thing to do for other people who may not be as...intellectual in coding!

    +1 4.8 years ago
  • Profile image
    37.6k V

    Bookmark

    4.8 years ago
  • Profile image
    162k spefyjerbf

    @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.

    4.8 years ago
  • Profile image
    29.9k Nerfaddict

    @spefyjerbf this android comapapkegjdxc
    Compatible?

    4.8 years ago
  • Profile image

    Just leaving a comment so I can check my comments and return to this forum later

    +1 4.8 years ago
  • Profile image

    @Brields95 Thank you!

    4.8 years ago
  • Profile image
    67.1k SnoWFLakE0s

    @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.

    4.8 years ago
  • Profile image
    162k spefyjerbf

    @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.

    4.8 years ago
  • Profile image
    20.3k MAINE

    @SnoWFLakE0s All I focused on was the .exe and lost it from there. My squirrel brain does that ;)

    4.8 years ago
  • Profile image

    @Freerider2142

    4.8 years ago
  • Profile image
    67.1k SnoWFLakE0s

    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.

    4.8 years ago
  • Profile image
    162k spefyjerbf

    @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.

    4.8 years ago
  • Profile image
    67.1k SnoWFLakE0s

    @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.

    4.8 years ago
  • Log in to see more comments