The "Gimbal" UFO is the poster child of modern UFO videos. Leaked in 2017, and officially released in 2019, it's considered by many to show a genuine anomalous craft, exhibiting flight characteristics beyond current human technology.
But is it? There are four observables in the video, four things you can check yourself, that demonstrate that the most likely thing we are looking at is actually a camera artifact. It's probably an infrared glare, hiding the hot object behind it, and rotating only because the camera rotates when tracking the target from left to right.
This does not mean it's not a "UAP", or that it's not unidentified, or that it's not an amazing craft - it just means it's not actually exhibiting any incredible behavior, and so this opens the door to more mundane possibilities, like a distant small jet, just flying away, the heat of the engines (viewed up the exhaust) creating a large glare in the thermal camera.
While it's new to YouTube, a lot of the analysis in this video is the result of several discussion threads here on Metabunk.
Investigation the role of pitch and other facts in the glare angle, Markus.
Edward Current's work on a full 3D model of the object's movement:
realityseaker and Edward Current on the initial lack of rotation during banking.
Using OpenCV to track the cloud motion
If you just want to read the code, then it's mostly in a single file:
If you want to edit/run the code, and look at the data, then there's a full zip of the project directory. It needs to be run on a server (which can be a local server) due to the local file loading.
There's one additional external dependency, the Three.js library, and a variety of utilities from the examples/jsm folder. Here's the version I'm using. This should be in a folder three.js in the root of the server (which you can obviously change in the code).