[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ff-cvs] libvob/vob/usertest color3.py
From: |
Janne V. Kujala |
Subject: |
[ff-cvs] libvob/vob/usertest color3.py |
Date: |
Thu, 04 Sep 2003 06:03:21 -0400 |
CVSROOT: /cvsroot/libvob
Module name: libvob
Branch:
Changes by: Janne V. Kujala <address@hidden> 03/09/04 06:03:21
Modified files:
vob/usertest : color3.py
Log message:
twids
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/vob/usertest/color3.py.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
Patches:
Index: libvob/vob/usertest/color3.py
diff -u libvob/vob/usertest/color3.py:1.3 libvob/vob/usertest/color3.py:1.4
--- libvob/vob/usertest/color3.py:1.3 Wed Sep 3 09:09:17 2003
+++ libvob/vob/usertest/color3.py Thu Sep 4 06:03:20 2003
@@ -59,12 +59,12 @@
#vs.put(background((0,0,0)))
vs.put(background((.2,.2,.2)))
- c1 = (0, 60, 120, 180, 240, 300, )
+ c1 = (0, 36, 72, 108, 144, 180, 216, 252, 288, 324, )
trials = [
[c, normalize(c + d2), 15]
for c in c1
- for d2 in [30, 60]
+ for d2 in [30, 60, 90]
]
trials2 = []
@@ -131,9 +131,10 @@
outfile.flush()
if var == 0:
- mul = .9 + .6 * r.nextDouble()
+ mul = 2**(-.1 + .7 * r.nextDouble())
else:
- mul = 1.1 - .6 * r.nextDouble()
+ mul = 2**(+.1 - .7 * r.nextDouble())
+
if delta2 == 0:
mul = 1