Pasta visualization

Pasta visualization

More than a year ago, I plotted a whole bunch of pastas, using Mathematica. It was more like a challenge; can I plot the weirdest pastas in a couple of lines? And indeed most of the pastas could be visualized in less than 5 lines. Here is one example.

One of my favorite pastas is Gemelli, here I visualized one using a lemniscate as the basis:

ParametricPlot3D[
Evaluate[RotationMatrix[0.7 z, {0, 0, 1}].{Sin[x]/(1 + Cos[x]^2), (
Cos[x] Sin[x])/(1 + Cos[x]^2), z}], {x, 0.2 Pi, 1.8 Pi }, {z, -2,
18}, Mesh -> None, Axes -> None, Boxed -> False, PlotStyle -> Hue[0.118],
Lighting -> "Neutral", ImageSize -> {500}, PlotPoints -> 50]

giving:
Gemelli angled
*click for a big version*

As quite a few have asked; what is the process of creating a pasta, here is a video describing the process.

So based on a lemniscate we extrude the shape and twist it around to create an helix. Can you identify each element in the Mathematica code?

Next time: Farfalle?

10 Responses to “Pasta visualization”

  1. Lou says:

    Leuk! = Nice!

  2. [...] noticed another post of Sander’s, Pasta visualization. More than a year ago, I plotted a whole bunch of pastas, using Mathematica. It was more like a [...]

  3. [...] couple of post back, I plotted the Gemelli pasta. And I already revealed I plotted a lot more. I kind of forgot about [...]

  4. [...] posted one of them to his blog, thinking he would do a sort of mathematical-pasta-of-the-month for the next year. But [...]

  5. [...] todo pai orgulhoso de sua criação, Huisman postou um exemplo do que tinha conseguido, cujos parâmetros você pode ver abaixo (o resultado é justamente a [...]

  6. [...] the equation that creates different pieces of pasta. Miraculously, he was able to come up with the equation, and many more as well! Photo Credit: Beau [...]

  7. [...] my post of nov 2010 on pasta shapes, and the sequel to that last june, now, the New York Times interviewed me regarding the pasta. See [...]

  8. [...] behind our favorite pasta varieties — from spaghetti to gemelli. One researcher has written blog posts on the topic. Others wrote a book about the pasta “family [...]

  9. [...] posted one of them to his blog, thinking he would do a sort of mathematical-pasta-of-the-month for the next year. But [...]

  10. [...] posted one of them to his blog, thinking he would do a sort of mathematical-pasta-of-the-month for the next year. But [...]