summaryrefslogtreecommitdiff
path: root/warp.py
diff options
context:
space:
mode:
Diffstat (limited to 'warp.py')
-rw-r--r--warp.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/warp.py b/warp.py
index 2272a37..9194b41 100644
--- a/warp.py
+++ b/warp.py
@@ -5,11 +5,12 @@ import numpy
xlist=[]
ylist=[]
-xres=1280
-yres=720
+xres=1280/5
+yres=720/5
#constant = 1./math.sqrt((xres/2)**2 + (yres/2)**2)
-constant = 1./(xres/2.)*30./42.
+constant = 1./(1280/2.)*30./42.
+print constant
for y in xrange(0,yres):
xtmp=[]