A rotation is a circular movement of an object around a center (or point) of rotation.
1
vote
2answers
13 views
CSS “transform: rotate()” affecting overall design with “position: absolute” (not aligning properly)
I fear I quite don't know how to explain it as well as I can show it. So I've set up this Fiddle.
As you can see, the nav menu is not where it should be. It should be set exactly at the bottom border ...
-2
votes
0answers
36 views
Rotating an Array by a particular amount? [closed]
I found this question on some interview questions website, and thought of providing the answer here so that anybody searching for similar stuff can access it easily.
The question says "Rotating an ...
0
votes
0answers
5 views
Kinetic js rotate to mouse with stage click
got a problem with firing the mouse position event. The Object are moving when I drag them but not when I click on stage. What should I do? (of course I am adding a stage and layer and stuff ;) ...
1
vote
1answer
33 views
Rotate group of 3D CSS objects around group's center
I have built 3 little cubes in CSS and grouped them in a line within a div #first_line_of_cubes at the very bottom of CSS file. You can see it here: http://jsfiddle.net/ZVVK3/ (I think it works only ...
0
votes
5answers
39 views
android application crashes when rotating the screen
My app crashec when rotating the device. I know it crashes because whenI rotate the screen it tries to create new View to draw and display but how can it create the view and display it properly on the ...
0
votes
1answer
54 views
Rotation matrix to vector with angle
Using HelixToolkit in my code i have a rotation matrix (3x3) like :
UX VX WX
UY VY WY
UZ VZ WZ
And i want to rotate a GeometryModel3D. I found the RotateTransform3D and i need a Vector3D ...
0
votes
1answer
26 views
Android.Orientation Wrong data from sensors,
Excuse me . I need your help . I want to get Orientation (s/n/e/w) for augumentet reality , but it show me wrong results(wrong data from sensor) . I use landscape orientation. it is my code(in ...
0
votes
0answers
9 views
AVL tree rotations
I really need to start to start improving my programming skills, a lot. That's why every other week, I've been trying to practice some programming exercises, before school starts back up in the fall. ...
1
vote
2answers
29 views
Randomly rotating html element
I was looking to make a bunch of list items randomly rotated (and absolutely placed) on the screen and found out here that that can only be achieved with javascript, instead of css3 as my first ...
1
vote
0answers
18 views
Why does IE8 and below rotate the container but not the content?
I have a container with a background image and a span element with text. IE9, 10, and modern browsers are fine but ie7 and 8 does not rotate the content. It does, however, rotate to container.
I ...
0
votes
0answers
8 views
How to Rotate foscam in iOS application?
I am working on foscam IP camera and I am unable to find any way to rotate the cam. I am successful to get the view of camera in my app successfully. I am using UDP classes. here is the code that i am ...
0
votes
0answers
16 views
Angles of rotation matrix using OpenCv function cvPosit
I'm working on a 3D Pose estimation system. I used OpenCVs function cvPosit to calculate the rotation matrix and the translation vector.
I also need the angles of the rotation matrix, but no ...
0
votes
0answers
3 views
Android: anim not setting correct pivot for <rotate tag Android 2.3
While setting animation thru xml file for OverridePendingTransition in a Activity.
I get some weird animation for
<rotate
android:duration="700"
android:fromDegrees="0"
...
0
votes
1answer
38 views
How do you make a wpf image move in the direction it is facing?
I need to figure out how to move a wpf image that is facing a certain direction because of a rotatetransform. Basically, when you press a or d, the image rotates, but when you press w, I would like ...
0
votes
0answers
21 views
OpenCV: Basics - Rotate camera around its center
i have a very basically question about rotation. I have a 3x4 extrinsic camera matrix containing the 3x3 rotation matrix and a 3x1 translation vector.
I m able rotate the camera around the world ...
0
votes
0answers
20 views
OpenGL Mouse MotionCallback for Rotation
Currently I have a system for converting 2D mouse movement to an existing 3D rotation. It uses the mtx.cpp and matrix.h files. The system works for rotating a model mesh but it is not ideal. If you ...
0
votes
0answers
22 views
AS3 Matrix3D using stage position as origin point
I'm trying to rotate a Bitmap, inside a Sprite, which is added to the stage, using prependRotaion as such:
var parentSprite:Sprite = new Sprite();
var endTopBit:Bitmap;
endTopBit = new Bitmap(new ...
0
votes
0answers
26 views
+100
Cannot update dynamically created fragment after rotation
I have a problem with fragments and configuration changes (rotation) : I have a screen with a button that randomly update the Text of a fragment.
Everything works fine untill I rotate the device ...
0
votes
0answers
4 views
Rotating Custom Main Menus Android?
I want to create Master page Main menu like this in Android . kindly anyone will help to find the solution. And give me some example for this.
0
votes
0answers
12 views
View controller's UIView frame weird behaviour
I've encountered a problem that drove me crazy. I've solved it, but my understanding of the matter is just not enough.
I've looked through documentation, but i guess i picked wrong topics, because ...
0
votes
1answer
21 views
Retrieve new width and height of BufferedImage bounds after a AffineTransform.rotate()
I'm working on a type of image editor which includes snapping to other elements as a feature. The snapping works by using the image width and height.
However, after an AffineTransform.rotate() the ...
0
votes
0answers
12 views
Get new crop coordinates after rotation
I have a site where one of the features lets users rotate/crop images. I'm using the following tools:
- Aspose for rotation
- Jcrop
before rotation to 90 or -90 the crop coordinates are correct but ...
0
votes
0answers
26 views
how to set image width/height equal to wrapping DIV after rotation?
I have an image inside a DIV
<div id="wrapper">
<img id="testimg" src="http://www.dothetest.co.uk/images/do-test.gif" alt="Test" />
</div>
Image perfectly fits into the DIV(i ...
1
vote
0answers
14 views
Firefox - transform and svg filter issue
I'm trying to apply -moz-transform and filter combined in firefox, in order to, say, give a grayscale appearance to a rotated image. The CSS code I'm issuing for this is the following:
...
0
votes
0answers
6 views
How to drag a rotated DragShadow?
I rotated a TextView with ObjectAnimator like this:
ObjectAnimator rotate = ObjectAnimator.ofFloat(aRotatedTextView, "rotation", 0f, someAngle);
Now, I try to drag and drop the rotated(!) TextView ...
0
votes
1answer
38 views
css transform:rotate, rotate forwards not backwards
I have got the following css:
#pie .slice.rot1 {
-webkit-transform:rotate(0deg);
-moz-transform:rotate(0deg);
-m-transform:rotate(0deg);
-o-transform:rotate(0deg);
...
1
vote
0answers
25 views
Android 2.3.3 rotating View
I'm working on Android 2.3.3, I've created a class that inherit from View, and i need it to rotate.
As this image explains: http://img7.imageshack.us/img7/2464/boundedbox.png
Asi this example shows, ...
0
votes
1answer
31 views
Javascript function to Rotate a base 64 image by X degrees and return new base64
I want a javascript function that will rotate a base64 image by X degrees and return the new base64 image.
Example I wish to call a function with something like:
var newImg = rotateImg(imageData, ...
0
votes
0answers
14 views
How to change the rotation axis in 3D object - Web GL
I am building a Web GL game for a university project.
So I want to rotate a cube but not on the classic axis x,y,z but on this:
and generally i want to know how can i change the rotation axis.
I ...
0
votes
1answer
50 views
Background color automatic cycle with Javascript
I have 3 divs set up on my website, and at the moment I am using CSS3 to highlight each div for 5 seconds by changing the background colour. So the first div highlights for 5 seconds, then the 2nd ...