Projective geometry demo

version 1.2 (2.49 KB) by Nicosahedron
A "pedagogic" demo of projective geometry showing some mathematical objects projections

27 Downloads

Updated 12 Feb 2020

View License

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
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!