Latest Sketches:
Goal: Construct a 2D square that distorts based on viewing angle, so that it appears like a square no matter what angle it is viewed from. The heart of the matter is to explore how personalized reality is also distorted reality.
Inspiration:
Johnny Chung Perspective Experiment
Ryan Carl - Perspective
Screen Recording 2024-05-07 at 9.53.25 AM.mov
Elements:
Viewing Angle Tracking
How I did it:
We know the webcam horizontal field of view is 122 degrees, and the aspect ratio of the frame is 16:9. From there we calculate a vertical field of view of 100 degrees using this formula.
With horizontal and vertical FOV as well as canvas dimensions, we can then convert the x,y, position of the sightline, using eye key point tracking, into viewing angle: