A simple ray tracing algorithm that renders a 3D world with spheres and lighting.
This program uses a basic ray tracing algorithm, demonstrating how light rays interact with a 3D environment containing spheres. The algorithm computes pixel colors based on ray-sphere intersections, resulting in a rendered image.
- Python 3.0.0+
- Pillow
pip install pillow - PySide6
pip install pyside6
To install:
pip install -r requirements.txtNavigate to the root of the directory:
To use GUI:
python3 ./src/main.pyTo use Console:
python3 ./src/main.py -cView the rendered image in ./output.png.

