A simple 2d raytracer made in Python with PyGame. Go inside of the constants file located in ~/src/constants/constants.py
to change any of the default settings to your liking.
To guarantee a seamless experience moving forward, please read and follow the installation instructions carefully.
To run the project, simply follow the instructions as listed below:
- Clone the repository
git clone https://github.com/DuckyShine004/2d-raytracer.git
- Install the required packages
pip install -r requirements.txt
- Run the main driver code in the root directory
python main.py
Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. Don't forget to give the project a star! (⭐)
- Fork the Project
- Create your Feature Branch (
git checkout -b Feat/NewFeature
) - Commit your Changes (
git commit -m 'Feat: Added New Feature'
) - Push to the Branch (
git push origin Feat/NewFeature
) - Open a Pull Request
Distributed under the MIT License
. See LICENSE.txt
for more information.
Gallon Zhou - Linkedin
Project Link: https://github.com/DuckyShine004/2d-raytracer