Questions tagged [rotation]

Questions regarding built-in methods to rotate objects and how to perform them: Rotate, RotationTransform, ImageRotate, RotationMatrix etc.

Filter by
Sorted by
Tagged with
0
votes
0answers
95 views

Trying to rotate a graphic over a field of parallel lines

I have a 10x10 grid of unit squares (picture a partial coordinate grid bounded by (0,0) and (10,10)) given by ...
1
vote
0answers
131 views

Change in direction when a line hits an ellipse? [duplicate]

I'm trying to simulate reflecting light off an elliptical mirror. I currently store the ellipse in the form {center,{radii},rotationAngle} and the ray of light is ...
12
votes
1answer
740 views

Compose many Geometric Transformations for 3D Graphics

I'm struggling to understand what would be a good way to compose several geometrical transformations to create a single TransformationFunction to be applied to a <...
2
votes
3answers
407 views

Rotation of a graph using manipulate

I'd like to look at some group transformation of curves in the plane. As a start, I'd like to try to do use the rotation group. Here's the code I tried to rotate a parabola so that I can watch the ...
14
votes
5answers
2k views

How to combine one or more rotated graphics objects?

I wish to produce an image with more than one composite graphics objects which have been modified using Rotate. I feel this should not be difficult, but haven't yet found a solution. A simple example ...
6
votes
2answers
218 views

Why does Rotate in PlotMarkers behave strangely?

Bug introduced in 9.0 or earlier and persisting through 12.0 While answering Change the inner color of markers I came across a behavior that may be a bug. I would like to know if there is another ...
5
votes
2answers
2k views

Converting a rotation matrix to a quaternion

I found a very good link about quaternions in Mathematica , but I don't know how to create a quaternion from a rotation matrix. Can anyone help me, please? Update I need this: A rotation may be ...
5
votes
3answers
579 views

Is it possible to specify the direction of rotation in VectorAngle function?

If I use the function VectorAngle[{1,0},{1,-1}], is it possible to obtain the angle generated by rotating around the axis counter clock wise? In other words, I would move from the first vector to the ...
2
votes
1answer
193 views

Randomly generated polymer with certain spatial density

For simplicity's sake, let the polymer's composing particle be integer 3-tuples (on 3D Cartesian grid), such that: Polymer-ness -- for all particle there is an directly adjacent neighbor. i.e in ...
0
votes
1answer
3k views

3D plot of a solid of revolution [closed]

I'm trying to rotate the area between the graphs of $y=3$ and $y=x^2$ around $y=1$. I'm not attempting to just find the area as that would just be ...
2
votes
1answer
277 views

how to distinguish clockwise from counterclockwise rotation

I need to distiguish the true rotation of a vector (time dependent, solution of a system of two coupled differential equation) respect a fixed vector. As showed in the follow,neither ...
2
votes
2answers
461 views

need help rotating an object about the z-axis using animation

This should be an easy question for anyone familiar with 3D animations. I have a 2D shape denoted by the equation $$((x-1)^2+y^2) ((x+1)^2+y^2)=1$$ and I want to illustrate its relation to a horn ...
0
votes
1answer
475 views

Revolving the area between two functions about an axis

I'm trying to graph the revolution of the area between two functions about an axis, but I'm new to Mathematica, and not sure how to proceed. My area is defined by ...
-2
votes
2answers
858 views

Problem with convert matlab function into mathematica version of euler angle

I've wrote a function that will extract euler angle from matrix according to Matlab's function in AeroSpace toolbox's dcm2angle package file. But not quite right. ...
6
votes
3answers
442 views

Assumptions for RotationMatrix

I'm making C++ program, and in my program I need a rotation matrix around any vector. I wanted to extract RotationMatrix[fi,{x,y,z}] output and put it in my program....
18
votes
5answers
6k views

Axis/Angle from rotation matrix

With r = RotationMatrix[a, {x, y, z}] I can compute a 3D rotation matrix from its axis/angle representation. Given a 3D rotation matrix ...

1 2 3