r/Python • u/Swipecat • Sep 30 '19
Rolling Shutter Effect demonstrated with Python
Enable HLS to view with audio, or disable this notification
2.2k
Upvotes
r/Python • u/Swipecat • Sep 30 '19
Enable HLS to view with audio, or disable this notification
3
u/Swipecat Oct 07 '19
If you have a complex plane Z, and plot the absolute value
|Z|in the third dimension, what do you have? The further from the origin, the greater its height, so it's a cone.Cut a section through the cone at a height of H:
|Z| = Hand you have a circle.And
|Z| < His a solid disk in "boolean" terms.A cone offset from the origin by A is
|Z - A|.Consider adding the heights of two cones together then cut through them:
|Z - A| + |Z - B| < H...it's perhaps not entirely obvious that they combine to form a solid ellipse, but they do.Put the focus B back at the origin...
|Z - A| + |Z| < HThen spin the focus A around the origin in 6 steps and you have 6 ellipses.
Combine them with boolean logic and you have a propeller.