Path Animation in Python - DFW Skytram Timelapse
Time lapse of the Dallas/Fort Worth International Airport Skytram, paired with a graphic of the airport and the tram's movement (Coded in Python). -------------------------------------------------------------------------------------------------------------------------- The Python program calculates continuous movement along a user-drawn path based on user-provided time and position, and animates it using OpenCV. The path pixels are first found with color filtering, and then they are ordered, skelatonizes, and filtered so the animated object doesn't jump from point to point. It's not perfect (partially due to the accuracy of my time and position stamps), but something neat to do with Python and OpenCV's easy video exporting. -------------------------------------------------------------------------------------------------------------------------- (What is fairly cool is that this can easily be extended into different dimensions. The object's position is parameterized by the path's index, so take a path drawn on a 1D line, a 2D surface like this map, or a 3D environment, and you would still have the core operation of cycling through an index at varying velocities or accelerations in the same way seen here.)
Download
0 formatsNo download links available.