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
Nicolas Douillet (2026). 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
- Mathematics and Optimization > Mapping Toolbox > Coordinate Reference Systems > Projected Coordinate Reference Systems >
- Radar > Mapping Toolbox > Coordinate Reference Systems > Projected Coordinate Reference Systems >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.2 | Cover img test again |
||
| 1.1 | New cover img, improved description |
||
| 1.0 | See release notes for this release on GitHub: https://github.com/NicolasDouillet/projective_geometry_demo/releases/tag/v1.0 See release notes for this release on GitHub: https://github.com/NicolasDouillet/projective_geometry_demo/releases/tag/v1.0 |
