diff options
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,7 +2,7 @@ import numpy as np from itertools import repeat from chroma.transform import rotate, normalize -def from_film(position, axis1=(0,0,1), axis2=(1,0,0), size=(800,600), +def from_film(position=(0,0,0), axis1=(0,0,1), axis2=(1,0,0), size=(800,600), width=0.035, focal_length=0.018): """Project rays from a piece of film located at whose focal point is located at `position`. `axis1` and `axis2` specify the vectors pointing |