How were the brown lines of the ice cream created - straight on one side and curved on the other?

Draw the curve and apply a fill color - because the lines are not a closed shape, the cut side that has no path will automatically be straight when filled with a color.