Recipe Test

Summer Pasta with Basil, Tomatoes and Cheese

  • Servings: 4-6
  • Difficulty: easy
  • Print

A fresh, light, Italian-inspired pasta recipe perfect for a late summer dinner.

Put your recipe here. Tip: use ordered and unordered lists, headings, images, and links to improve the look of your recipe. You can also use special tags to format notes, ingredients, and directions.


Credit: allrecipes.com

Ingredients

  • 2 pounds vine ripened tomatoes
  • 3 cloves garlic
  • 1/2 cup chopped fresh basil

Directions

  1. In a medium bowl, toss together tomatoes, garlic, basil, mint, salt and black pepper.
  2. Cook and drain pasta.
  3. Mix together.

The Journey Begins

move_to_pos(integer to) {
  vector target = get_vec(to);
  llSetPos(target);
}

And get_vec evolved into this, though I wrote it inline to begin with:

vector get_vec(integer i ) {
  return llList2Vector(adjusted, get_index(i));
}

integer get_index(integer i) {
  integer N = llGetListLength(adjusted);
  integer fetch = 2*i;
  if (fetch < 0 ) fetch += N;
  fetch = fetch%N;
  return fetch;
}

The key insight here, and it took me a while to see it, is that the roll angle we want is the angle between the two rods in that picture. To rotate to that angle, we want the rotation between those two rods. If the given normal in the input data is in the variable norm, then we want llRotBetween(,norm). Why? Because the y-face normal of the transparent cube is “, because it sticks straight out in the Y direction.