Skip to content

Python script to project a 3D object on a 2D plane all in R3 space.

License

Notifications You must be signed in to change notification settings

NovaBro/Linear_Algebra_Projection_Demo

Repository files navigation

Linear_Algebra_Python_Demo

Overview The objective of this project is to just be a demo of projecting 3D objects in R3 to a plane in R3 while at the same time rotating that object around an axis. This project demonstrates some of what I have learned in my course in Linear Algebra, namely linear transformations, projections, change of basis, and creating orthonormal basises. While working on this project, I was teaching myself how to use python, numpy, and matplotlib all at the same time on the fly. because of this, the development process was quite slow, but very worth while since it has taught me alot.

The best and most up to date version is in the file 3dProjectionSim.py Going into the file, you can modify the settings to change: the object dimensions, plane of the projection, rotation speed and direction.

The yellow axis are the basis vectors of the plane, the blue object is 3d, the green object is the projection, and magenta is the axis of rotation. In simpler terms, the green object is the "shadow" of the blue object.

I have included an older version of this project just to show some of the learning process and different ways of displaying the projection.

About

Python script to project a 3D object on a 2D plane all in R3 space.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages