Projective geometry demo
Typewrite "projective_geometry_demo(sz)", in Matlab console with sz the size of the chessboard, sz >= 3, to run and display the figure comparing 2D top view of the chessboard, and its projective geometry view.
Some objects like circle, a parabola, and an hyperbole are also drawn.
In projective geometry they have the property that all of them appear as a circle.
Change the projection parameters (view point, projection matrix) to test your own and change the output !
Cite As
Nicosahedron (2022). Projective geometry demo (https://www.mathworks.com/matlabcentral/fileexchange/74244-projective-geometry-demo), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.