Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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]

About

No description, website, or topics provided.

Resources

Releases

No releases published

Languages

You can’t perform that action at this time.