86 |
|
|
87 |
pages = [enfMaker.makeEnfilade(current.subSpan(i, i+1)) for i in range(0, current.length())] |
pages = [enfMaker.makeEnfilade(current.subSpan(i, i+1)) for i in range(0, current.length())] |
88 |
|
|
89 |
pages = pages[:16] # XXX: |
pages = pages[:18] # XXX: |
90 |
|
|
91 |
textureSeeds = [i for i in range(523, 523+current.length())] |
textureSeeds = [i for i in range(523, 523+current.length())] |
92 |
|
|
143 |
|
|
144 |
def createTextPapers(): |
def createTextPapers(): |
145 |
from gfx.demo import fontfilter2 |
from gfx.demo import fontfilter2 |
146 |
trials = 32 |
trials = len(pages) * 2 |
147 |
|
|
148 |
for subj in range(0,2): |
for subj in range(0,2): |
149 |
global textureSeeds |
global textureSeeds |
155 |
|
|
156 |
conditions1 = [ cond for cond in textConds ] |
conditions1 = [ cond for cond in textConds ] |
157 |
conditions2 = [ cond for cond in textConds ] |
conditions2 = [ cond for cond in textConds ] |
158 |
|
conditions3 = [ cond for cond in textConds ] |
159 |
|
conditions4 = [ cond for cond in textConds ] |
160 |
rng.shuffle(conditions1) |
rng.shuffle(conditions1) |
161 |
rng.shuffle(conditions2) |
rng.shuffle(conditions2) |
162 |
conditions = conditions1 + conditions2 |
rng.shuffle(conditions3) |
163 |
|
rng.shuffle(conditions4) |
164 |
|
conditions = conditions1 + conditions2 + conditions3 + conditions4 |
165 |
|
|
166 |
pageSpanCellView = gzz.view.PageSpanCellView() |
pageSpanCellView = gzz.view.PageSpanCellView() |
167 |
pageSpanCellView.pageSpanPaperMaker = PSPMaker() |
pageSpanCellView.pageSpanPaperMaker = PSPMaker() |