logoalt Hacker News

leontrolskitoday at 12:10 PM23 repliesview on HN

Neat.

I'm trying to compress recipes into little schematics https://leontrolski.github.io/recipes.html


Replies

ekglimmertoday at 6:03 PM

This is cool - I tried automating different recipe formats/visualizations at https://www.gobsmacked.io. I was thinking of trying to do something similar to this next.

teeraytoday at 12:24 PM

I like it. Reminds me a bit of the table format on Cooking for Engineers (scroll to the bottom of the recipe): https://www.cookingforengineers.com/recipe/19/Erics-Chocolat...

show 1 reply
NiloCKtoday at 12:21 PM

Ahh - the dependency graph recipe card. These are excellent. I've imagined something like this forever. Always annoyed that recipes put ingredients in a giant undifferentiated list and then give an instruction like "mix the dry ingredients in a deep bowl".

For a while I expected there could be a good return on a good implementation of this, but now as soon as a strong interface itself is created it seems easy to copy.

show 3 replies
duckmysicktoday at 3:14 PM

That's a very cool site! I enjoyed the hand-drawn graphs.

Your tables remind me of recipes in Modernist Cuisine. They all have ingredients grouped by the procedures together with weight, sometimes volume, and ratio.

Example: https://modernistcuisine.com/wp-content/uploads/2013/01/Mac-...

mapipolotoday at 12:16 PM

I love this! I bet you could make a successful recipe book based on this concept, with large schematics that a cook can read from a distance while working in the kitchen.

Uncle_Brumpustoday at 1:37 PM

I really like these. I went through a phase a couple years ago where I got really into cooking new fancy recipes, and having to scroll around on recipe pages, or try and read my own chicken scratch notes or understand the context I was trying to imply when I wrote the notes weeks ago was a struggle. Having everything more or less right there in front of your face seems really nice.

And I don't know why, but "Beans (green)" is really tickling my funny bone.

karhutontoday at 12:46 PM

These are amazing. It feels so clear to see a visual ”map” of the cooking process before you even start.

This would help coordinate two cooks to make prepping more independent.

I’m trying to figure out if an landscape Ipad, with interactive elements for extra details if needed, would be a good UI for this.

-

Edit: Showed it to my non-Engineer wife and she said ”this is horrible” after staring at it for 10 seconds. Maybe not for everyone…

DoctorOetkertoday at 1:57 PM

a lot of the schematics have avoidable edge crossings, that could improve intuitive readability enormously, theres entire subfields of graph theory that consideres rendering of graphs and planar embeddings.

Bengaliloltoday at 2:53 PM

Great initiative ! So simple and yet it works (from those recipes listed I know, they are all working nicely).

treistoday at 3:06 PM

My God what do you do to your feta?

severinetoday at 3:24 PM

I love it too, bookmarked and hopefully adopted! Did you write about it somewhere?

felooboolooombatoday at 2:04 PM

Nice! I do similar but yours are much more sophisticated. I list the ingredients and then group them at the side with instructions.

leohtoday at 5:31 PM

This is really really awesome

dhxtoday at 2:51 PM

This will perhaps be overkill for what you're trying to achieve, but there is Object Process Methodology (OPM)[1] which may be inspiration for modelling recipes. It looks similar to the methodology you're using, and as an example, expects the following type of modelling:

"peeling carrot" (process) consumes "washed carrot" (object)

"peeling carrot" (process) yields "peeled carrot" (object)

"peeling carrot" (process) yields "carrot peel" (object)

"finely dicing carrot" (process) consumes "peeled carrot" (object)

"finely dicing carrot" (process) yields "finely diced carrot" (object)

"prepare mirepoix" (process) consumes "finely diced carrot" (object)

"prepare mirepoix" (process) consumes "finely diced celery" (object)

"prepare mirepoix" (process) consumes "finely diced onion" (object)

"prepare mirepoix" (process) consumes "butter" (object)

"prepare mirepoix" (process) yields "mirepoix" (object)

The advantage of OPM is alignment of graphical and textual representations.

The downside of such approach is you soon discover how many millions of objects may exist in recipes--unwashed carrot, washed carrot, orange carrot, purple carrot, yellow carrot, white carrot, peeled carrot, coarsely diced carrot, finely diced carrot, julienned carrot... and purple julienned carrot vs. yellow julienned carrot. And that's just basic preparation complexity well before any contemplation of cooking or plating up elements. To go further you then discover a lack of useful labels such as "mirepoix" or "soffrito", if for example, you wanted to substitute sweet potato in place of carrot in the recipe.

Then there is SysML 2[2] which is kind of like OPM if you ever wanted to write a recipe in 35,000 lines of code, including possibly all the complexity of mathematical modelling of the Maillard reaction for purple carrots vs. yellow carrots using either extra virgin olive oil or butter. Probably best suited for the largest food processing companies such as Nestle, Unilever, Modelez, etc and even then, inherent complexity of their food products rarely would reach the level of a fine dining dish prepared by a chef.

[1] https://en.wikipedia.org/wiki/Object_Process_Methodology

[2] https://www.omg.org/spec/SysML/2.0/Language/PDF

show 1 reply
InsideOutSantatoday at 12:32 PM

That's really neat and easy to parse, love it!

chamomealtoday at 2:05 PM

Dang this is the best way to represent a recipe I've ever seen. I love it

danielvaughntoday at 12:24 PM

It's amazing how much more readable this format is. I love it.

damnitbuildstoday at 3:03 PM

I'd prefer it if you minimized the crossing paths :-)

addedGonetoday at 1:29 PM

Recipes-as-JSON?

vrganjtoday at 1:42 PM

Now this I love. It respects the craft of cooking and the human element, while giving instructions in an easy to grok and straightforward way.

Great job!

hkttoday at 12:25 PM

That is brilliant. Going to try some of yours then maybe transcribe my own favourites into the same format. You've struck on a great idea here.