From 910f2efa1cdb93f479eef61829a5e6ef332c4636 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Wed, 27 Aug 2014 00:53:01 +0200 Subject: zoom --- warp.py | 7 ++++--- 1 file 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=[] -- cgit v1.2.3