A C++ project built with SFML that visually demonstrates 2D vector and matrix transformations. The interface renders a coordinate grid where users can interactively
- Add and modify vectors
- Apply transformation matrices such as:
- 🪄 Rotation
- 🪄 Scaling
- 🪄 Shearing
- 🪄 Reflection
- 🪄 Matrix Addition
- 🪄 Matrix Subtraction
- 🪄 Matrix Projection
- See real-time graphical feedback as transformations are applied.
- Maintain a memory stack of the operations performed!
This project bridges the gap between numerical operations and spatial intuition, allowing transformations to be seen and understood dynamically.
Each operation updates the visuals in real time, offering clear insight into how mathematical changes affect geometric vectors.
With a clean layout, responsive visuals, and smooth interactions, this tool makes linear transformations both functional and visually expressive.
# Install SFML
brew install sfml
# Clone and build
git clone https://github.com/your-username/vector-visualizer.git
cd vector-visualizer
mkdir build && cd build
cmake ..
make
# Run it!
./matrixSFML# Install dependencies
sudo apt update
sudo apt install libsfml-dev cmake build-essential
# Clone and build
git clone https://github.com/your-username/vector-visualizer.git
cd vector-visualizer
mkdir build && cd build
cmake ..
make
# Run it!
./matrixSFMLInstall Tools:
-
CMake
-
SFML for Windows
-
A C++ compiler (MSVC or MinGW)
Build with PowerShell:
cd vector-visualizer
Remove-Item -Recurse -Force build
mkdir build
cd build
cmake .. -G "MinGW Makefiles"
mingw32-make
# Run the executable:
./matrixSFML.exe











