summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2014-08-27 00:53:01 +0200
committerFlorian Jung <flo@windfisch.org>2014-08-27 00:53:01 +0200
commit910f2efa1cdb93f479eef61829a5e6ef332c4636 (patch)
tree857253f93204d723c16576c15aff546cdb2d3355
parent3e064160794a7835c77a376e257d832261371c24 (diff)
zoom
-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=[]