/2d-raytracer

A simple 2d raytracer made in Python with Pygame.

Primary LanguagePythonMIT LicenseMIT

2d-raytracer

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.

Built with

Python.io

Getting Started

To guarantee a seamless experience moving forward, please read and follow the installation instructions carefully.

Installation

To run the project, simply follow the instructions as listed below:

  1. Clone the repository
    git clone https://github.com/DuckyShine004/2d-raytracer.git   
  2. Install the required packages
    pip install -r requirements.txt
  3. Run the main driver code in the root directory
    python main.py

Contribution

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! (⭐)

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b Feat/NewFeature)
  3. Commit your Changes (git commit -m 'Feat: Added New Feature')
  4. Push to the Branch (git push origin Feat/NewFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

Gallon Zhou - Linkedin

Project Link: https://github.com/DuckyShine004/2d-raytracer