This is my first real program of any depth so it's still unstable and buggy and a work in progress but it does what it's intended to do with some coaxing.
If you're not familiar with bakers percentage it's a technique that uses flour weight as a standard to calculate all other ingredients weight by. The math seems a little absurd but a readout looks like this:
ingredient | percentage | weight |
flour | 100 | 613 |
water | 60 | 368 |
yeast | 3 | 18 |
163 | 1000 |
To explain the math you decide on a final dough weight then you divide that weight by your overall percentage.
So in this case:$1000/163=6.13$. Now I multiply my various ingredient percentages times 6.13 to get the associated weights.
Here in my main program.
Here are the visual programs
Here are the programs that create the readout
And this program initializes and cleans the required lists and variables.
I apologize for the size, this thing is a monstrosity mostly due to inexperience but also I made certain code into individual programs to make it easier to edit and test. Either way that I got it to work is a milestone.
I still have a lot of work to stabilize and remove a lot of limitations that this program has.
As an example I can't scroll my final readout so I'm limited to 8 ingredients.
I'd appreciate any feedback or constructive criticism.