Modeling pasta