0

I'm learning L-systems and have been reading the book Algorithmic Beauty of Plants by Aristid Lindenmayer.

In the book they discuss the use of rotation matrices for the turtle geometry used to traverse and draw the L-systems in 3-dimensions.

Their definition of rotation matrices:

enter image description here

The wikipedia page for Rotation matrix defines it as:

enter image description here

Notice on the x,h matrices they are identical, but for u,z and y,l there are sin(a) that have negatives swapped.

Is this an intentional alteration for the purposes of turtle geometry or does the negative sign not have a significant alteration to how the rotation is applied?

MFerguson
  • 137

1 Answers1

1

Remember that $$\sin(-\alpha)=-\sin\alpha.$$