12,047 questions
-1
votes
0
answers
45
views
Can't rotate a video file with metadata in Flutter [closed]
I need to be able to rotate a video in Flutter without re-encoding it.
In Flutter I’m using the ffmpeg_kit_flutter_new 4.1.0 plugin, and for the rotation I’m trying the following command:
ffmpeg -i ...
0
votes
0
answers
27
views
Why am I seeing chaotic jumps when extracting ZYX Euler angles near ±90° pitch?
I’m working on a real-time orientation extraction system (ZYX Euler angles) from my omega7 device, and I’m trying to understand why yaw/roll behave chaotically when pitch approaches ±90°, or when I ...
-2
votes
2
answers
88
views
Image rotation causing misplacement
I've stripped this issue down to an image on a ZStack. The image should be in the lower left corner of the ZStack. When the .rotation for the image is modified, the location changes as if the ...
0
votes
1
answer
49
views
Rotate Pelvis to face the camera UE5.6
I am in the process of making an active ragdoll character in ue5.6. I have gotten the ragdoll walking, grabbing, hanging, jumping, and all sorts of fun stuff. But I am currently stuck on how to make ...
0
votes
1
answer
37
views
How to get face/head direction/rotation from BVH files - Axis Studio?
I'm trying to get the direction/rotation of the head or the direction/rotation of the face from the neck.
I'm working whit a BHV file exported from Axis Studio:
Body: Axis Studio
Euler Order: XYZ
...
1
vote
0
answers
63
views
Euler angles continuity ZYX (Yaw Pitch Roll) when pitch crosses ±90
I’m using a Force Dimension Omega.7. From its 3×3 rotation matrix
𝑅
, I extract ZYX Euler angles (Yaw–Pitch–Roll) as:
double yaw= std::atan2(R\[1\]\[0\], R\[0\]\[0\]); // Z
double pitch = std::...
0
votes
0
answers
65
views
Gyro stabilization tilts sideways on slanted ramps (Unreal C++ custom movement component)
I’m building a custom movement system for my project (kind of a physics-driven movement framework).
Everything works great, except for one annoying issue with GYRO STABILIZATION.
Video showcase of the ...
0
votes
2
answers
98
views
Problem with offset when rotating text on an image (Pillow)
main.py
from PIL import Image, ImageDraw, ImageFont
base_img = Image.new("RGBA", (100, 100), (0, 255, 0))
txt = 'Sample <del color=red>text<del>'
rotate = 120
font = ImageFont....
0
votes
2
answers
248
views
How to rotate one vector around another by a certain angle using struct and quaternion in C language?
I am solving this problem-
U and K are vectors is R3. U rotated around K by an angle θ in radian produces a new vector V. Find the components of V as functions of U , K and θ.
I solved the problem ...
3
votes
3
answers
235
views
How to rotate a page by arbitrary angle in pymupdf?
I couldn't find how to rotate a text page of a PDF by an arbitraty angle in the pymupdf documentation.
There is page.set_rotation(angle), however, which only allows for 0, 90, 180, 270 degrees, which ...
5
votes
1
answer
148
views
Rotate an image with transparent background
I have trouble rotating images with transparent background while retaining a transparent background. magick::image_rotate() adds a white background with a gray border (I think due to anti-aliasing).
...
0
votes
0
answers
53
views
Correct azimuth and GPS-based rotation logic
I'm building an Android app that uses the smartphone's sensors and GPS to rotate a camera (Pivo device) to face a specific GPS coordinate.
Azimuth Calculation
My phone is in portrait mode, and I want ...
1
vote
1
answer
104
views
Using QuestPDF with a Header having Rotate(-90) the text does not position correctly
I'm using .NET 8, C#, Blazor server, VS 2022 and QuestPDF Version="2025.5.1".
I have been unable to get the header cells to provide Rotate(-90) correctly. I am new to QuestPDF. I have ...
2
votes
3
answers
107
views
How to rotate a 2d circle around another?
I'm trying to rotate a circle around another circle in 2d.
I have the following code implemented, which rotates the circle on its axis, however, I want to rotate the circle around the other one.
var w ...
1
vote
0
answers
25
views
SPH in N-body-simulation with gravity dampens planetary rotation
I implemented a N-body-simulation that combines gravity and SPH (smoothed particle hydrodynamics). With this I can get nice "planets" that warp when they get close and that can collide. But ...