I have an idea for an addon that I've already implemented successfully via python script. It's used for smoothly modulating sinusoids based on their frequency and amplitude. I want to create a UI that gives me the option to change certain values within the code. I need to create a button that will execute a long script of code, and input fields that will allow me to set the initial conditions of that script.
So my question is:
how do I create an input field that will modify the conditions of the script that's going to execute?
how do I create a button that will execute a script that does a bunch of different things at once?