No description, website, or topics provided.
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
geometry.py
render.py
testing.py

README.md

Ray-tracer

This project uses PIL to render images from a dictionary of pixel colors, the rest is straight Python. Currently it generates this image: Ray-tracer

To generate different pictures, just change the create_word function in render.py. For exemple, to generate a picture of a single red sphere:

def create_world():
    S1 = Sphere((5, 3, 2), 1, (255, 0, 0), 0)
    return [S1]