Checklist
Is your feature request related to a problem? Please describe.
The server already support ingredients profile ( % acidity, %sweetness, ABV ) but does nothing with it.
Describe the solution you'd like
Under each recipe, add a flavor profile graph of the cocktail (either 2-3 bar range visualizer, or a single 2d flavor profile map).
Additional context
This is not as easy as displaying the total % acidity, sweetness and alcohol, as the different component balance each other (perceived acidity depends on real acidity, but also on sweetness).
One would need to calculate:
- the sweet to sour balance : $$\frac{Sweet}{Acid + \epsilon}$$
- the Acid/Sugar Masking Index : $$\ln(1 + Acid) \cdot \left( \frac{1}{1 + 0.04 \cdot Sweet} \right)$$
- "Perceived Booziness" : $$ABV \cdot \exp\left( - \big( 0.025 \cdot Sweet + 0.05 \cdot Acid \big) \right)$$
and maybe other stuff too (even the formulas are guidelines and not ground trough, i'm far from an expert).
Checklist
Is your feature request related to a problem? Please describe.
The server already support ingredients profile ( % acidity, %sweetness, ABV ) but does nothing with it.
Describe the solution you'd like
Under each recipe, add a flavor profile graph of the cocktail (either 2-3 bar range visualizer, or a single 2d flavor profile map).
Additional context
This is not as easy as displaying the total % acidity, sweetness and alcohol, as the different component balance each other (perceived acidity depends on real acidity, but also on sweetness).
One would need to calculate:
and maybe other stuff too (even the formulas are guidelines and not ground trough, i'm far from an expert).