1.5 for offline

parent 672cbf2b
participant,session,date,expName,psychopyVersion,frameRate,
1.6947 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use ['sounddevice', 'pyo', 'pygame'] (in that order).
12.4874 WARNING User requested fullscreen with size [1024 768], but screen is actually [1920, 1080]. Using actual size
15.2680 EXP Created window1 = Window(allowGUI=False, allowStencil=False, args=UNKNOWN, autoLog=True, bitsMode=UNKNOWN, blendMode='avg', bpc=(8, 8, 8), color=array([0., 0., 0.]), colorSpace='rgb', depthBits=8, fullscr=<method-wrapper '__getattribute__' of attributeSetter object at 0x0000021EEFFE4470>, gamma=None, gammaErrorPolicy='raise', kwargs=UNKNOWN, lms=UNKNOWN, monitor=<psychopy.monitors.calibTools.Monitor object at 0x0000021EEFCE9B38>, multiSample=False, name='window1', numSamples=2, pos=[0.0, 0.0], screen=0, size=array([1920, 1080]), stencilBits=0, stereo=False, units='height', useFBO=True, useRetina=False, viewOri=0.0, viewPos=None, viewScale=None, waitBlanking=True, winType='pyglet')
15.2684 EXP window1: mouseVisible = True
15.2685 EXP window1: recordFrameIntervals = False
15.4335 EXP window1: recordFrameIntervals = True
15.6170 EXP window1: recordFrameIntervals = False
16.3544 EXP window1: mouseVisible = True
participant,session,date,expName,psychopyVersion,frameRate,
1.6675 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use ['sounddevice', 'pyo', 'pygame'] (in that order).
6.9055 WARNING User requested fullscreen with size [1024 768], but screen is actually [1920, 1080]. Using actual size
8.9814 EXP Created window1 = Window(allowGUI=False, allowStencil=False, args=UNKNOWN, autoLog=True, bitsMode=UNKNOWN, blendMode='avg', bpc=(8, 8, 8), color=array([0., 0., 0.]), colorSpace='rgb', depthBits=8, fullscr=<method-wrapper '__getattribute__' of attributeSetter object at 0x00000224D81F3470>, gamma=None, gammaErrorPolicy='raise', kwargs=UNKNOWN, lms=UNKNOWN, monitor=<psychopy.monitors.calibTools.Monitor object at 0x00000224D7EF8B38>, multiSample=False, name='window1', numSamples=2, pos=[0.0, 0.0], screen=0, size=array([1920, 1080]), stencilBits=0, stereo=False, units='height', useFBO=True, useRetina=False, viewOri=0.0, viewPos=None, viewScale=None, waitBlanking=True, winType='pyglet')
8.9822 EXP window1: mouseVisible = True
8.9823 EXP window1: recordFrameIntervals = False
9.1464 EXP window1: recordFrameIntervals = True
9.3293 EXP window1: recordFrameIntervals = False
10.0480 EXP window1: mouseVisible = True
participant,session,date,expName,psychopyVersion,frameRate,xRes,yRes,
1.6519 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use ['sounddevice', 'pyo', 'pygame'] (in that order).
7.4093 WARNING User requested fullscreen with size [1024 768], but screen is actually [1920, 1080]. Using actual size
9.4964 EXP Created window1 = Window(allowGUI=False, allowStencil=False, args=UNKNOWN, autoLog=True, bitsMode=UNKNOWN, blendMode='avg', bpc=(8, 8, 8), color=array([0., 0., 0.]), colorSpace='rgb', depthBits=8, fullscr=<method-wrapper '__getattribute__' of attributeSetter object at 0x00000232D9C444E0>, gamma=None, gammaErrorPolicy='raise', kwargs=UNKNOWN, lms=UNKNOWN, monitor=<psychopy.monitors.calibTools.Monitor object at 0x00000232D9949BA8>, multiSample=False, name='window1', numSamples=2, pos=[0.0, 0.0], screen=0, size=array([1920, 1080]), stencilBits=0, stereo=False, units='height', useFBO=True, useRetina=False, viewOri=0.0, viewPos=None, viewScale=None, waitBlanking=True, winType='pyglet')
9.4971 EXP window1: mouseVisible = True
9.4972 EXP window1: recordFrameIntervals = False
9.6613 EXP window1: recordFrameIntervals = True
9.8449 EXP window1: recordFrameIntervals = False
10.3458 EXP Created scrollText = TextStim(__class__=<class 'psychopy.visual.text.TextStim'>, alignHoriz=method-wrapper(...), alignText='center', alignVert=method-wrapper(...), anchorHoriz='center', anchorVert='center', antialias=True, autoLog=True, bold=False, color='white', colorSpace='named', contrast=1.0, depth=-1.0, flipHoriz=False, flipVert=False, font='Arial', fontFiles=[], height=0.1, italic=False, languageStyle='LTR', name='scrollText', opacity=1.0, ori=0, pos=array([-0.8 , 0.45]), rgb=array([255., 255., 255.]), text='+', units='height', win=Window(...), wrapWidth=1)
10.3832 EXP scrollText: autoDraw = True
27.6547 DATA Keypress: space
28.0499 DATA Keypress: escape
28.5681 EXP window1: mouseVisible = True
participant,session,date,expName,psychopyVersion,frameRate,xRes,yRes,
1.7177 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use ['sounddevice', 'pyo', 'pygame'] (in that order).
8.7307 WARNING User requested fullscreen with size [1024 768], but screen is actually [1920, 1080]. Using actual size
10.8759 EXP Created window1 = Window(allowGUI=False, allowStencil=False, args=UNKNOWN, autoLog=True, bitsMode=UNKNOWN, blendMode='avg', bpc=(8, 8, 8), color=array([0., 0., 0.]), colorSpace='rgb', depthBits=8, fullscr=<method-wrapper '__getattribute__' of attributeSetter object at 0x0000028439B444E0>, gamma=None, gammaErrorPolicy='raise', kwargs=UNKNOWN, lms=UNKNOWN, monitor=<psychopy.monitors.calibTools.Monitor object at 0x0000028439849BA8>, multiSample=False, name='window1', numSamples=2, pos=[0.0, 0.0], screen=0, size=array([1920, 1080]), stencilBits=0, stereo=False, units='height', useFBO=True, useRetina=False, viewOri=0.0, viewPos=None, viewScale=None, waitBlanking=True, winType='pyglet')
10.8766 EXP window1: mouseVisible = True
10.8768 EXP window1: recordFrameIntervals = False
11.0411 EXP window1: recordFrameIntervals = True
11.2247 EXP window1: recordFrameIntervals = False
14.8053 EXP Created scrollText = TextStim(__class__=<class 'psychopy.visual.text.TextStim'>, alignHoriz=method-wrapper(...), alignText='center', alignVert=method-wrapper(...), anchorHoriz='center', anchorVert='center', antialias=True, autoLog=True, bold=False, color='white', colorSpace='named', contrast=1.0, depth=-2.0, flipHoriz=False, flipVert=False, font='Arial', fontFiles=[], height=0.1, italic=False, languageStyle='LTR', name='scrollText', opacity=1.0, ori=0, pos=array([-0.8 , 0.45]), rgb=array([255., 255., 255.]), text=str(...), units='height', win=Window(...), wrapWidth=1)
17.6958 DATA Keypress: space
17.6963 DATA Keypress: escape
17.7045 EXP scrollText: anchorHoriz = 'left'
17.7045 EXP scrollText: anchorVert = 'top'
17.7045 EXP scrollText: autoDraw = True
17.7045 EXP scrollText: text = "Faculty of Health and Life Sciences\nDepartment of Psychology, Health and Professional Development\nOxford Brookes University, Headington, OXFORD OX3 0BP.\n\nResearcher: *STUDENT NAME*, Undergraduate, Email: *EMAIL ADDRESS*\n\nSupervisor: *SUPERVISOR NAME*, Email: *EMAIL ADDRESS*, Tel: 01865 48*INTERNAL NUMBER*\n\nPlease take time to read the following information carefully.\n\n###What is the purpose of the study?\n*The background and the aim of the study should be given here. You should outline the overall design of the study. Again, you can be vague where giving away too much might bias your participants responses. Avoid technical or over-academic language*\n\n###Why have I been invited to participate?\n*You should explain how the individual was chosen to take part in the study and how many other people will be asked to participate. You should explain how the individual was chosen to take part in the study, and mention relevant inclusion or exclusion criteria. For example... This study is on adults in the UK aged between 18 and 70 who can read English fluently. A total of between 150 and 200 people will be asked to participate via invitations posted on social media.*\n\n###Do I have to take part?\nNo. It is up to you to decide whether or not to take part. If you do decide to take part you are still free to withdraw unprocessed data at any time by closing the browser before pressing the 'submit' button or by contacting the researcher with a unique code that will be displayed on screen after you submit. \n\n###What will happen to me if I take part?\nIf you choose to take part in the study, you will be presented with an online questionnaire, which should take no longer than *15-20* minutes to complete. *You should explain your methods of data collection, including what the individual will be asked to do and how much time will be involved. This description should be general enough that the participant will not be surprised by the questions. If information is withheld, ask your supervisor what to put here.*\n\n###What are the possible benefits or disadvantages of taking part?\nThere are no direct benefits of taking part in this study. However, we hope that you will find the questions interesting and that outcomes of this study will help to further develop research on this topic area. Other than the time you spend answering the questionnaire, there are no disadvantages of taking part in this study. *Please edit if there are any other disadvantages or risks to the participants, such as induction of a sad mood. Outline any direct benefits for the individual. There are usually none to anyone other than the researcher for their dissertation but if appropriate mention that they might find the study interesting or the activity enjoyable.*\n\n###Will what I say in this study be kept confidential?\nYes. You will not be asked to give any information that could be used to identify you personally (e.g., your name, date of birth, IP address). Confidentiality, privacy and anonymity will be ensured in the collection, storage and publication of research material (subject to legal limitations). Research data will be stored in Qualtrics and Google Drive, for which the University has security agreements, or uploaded to a repository so that it can be shared for teaching and research purposes. \n\n###What should I do if I want to take part?\nIf you would like to take part, please click on the Continue to Experiment button at the bottom of this page before proceeding.\n\n###What will happen to the results of the research study?\nThe results of this study will be written up and submitted as a piece of work to fulfil the requirements of a module at Oxford Brookes University. The results may also be published in an academic journal, presented at a conference or used for future research or teaching on the topic.\nOR\nThe results of the research will be used in an undergraduate psychology dissertation. If a publication is planned, the data generated by the study will be retained by the supervisor in accordance with the University's policy on Academic Integrity and may be kept securely for a period of ten years after the completion of the research project. If no publication is proposed the data will be deleted in *INSERT MONTH and YEAR*.\n\n###Who has reviewed the study?\nThis research is being conducted by a Psychology student at Oxford Brookes University as part of the requirement for their course. The study procedures have been reviewed and approved by the Psychology Research Ethics Committee, Oxford Brookes University. If you have any concerns about how the study has been conducted, please contact the Psychology Research Ethics Officer, Dr Emma Davies, on edavies@brookes.ac.uk\n \n###Contact for Further Information\nPlease contact the researcher or their supervisor (contact details above) if you would like any further information about this study. \n \nIf you wish to obtain a summary of the findings when they have been written up please e-mail *STUDENT NAME* at *EMAIL ADDRESS*@brookes.ac.uk after *RESULTS DAY*.\n\nThank you for taking time to read the information sheet.\n\n**Date**\n*TODAY'S DATE*"
18.0217 EXP window1: mouseVisible = True
participant,session,date,expName,psychopyVersion,frameRate,xRes,yRes,
2.2225 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use ['sounddevice', 'pyo', 'pygame'] (in that order).
8.5761 WARNING User requested fullscreen with size [1024 768], but screen is actually [1920, 1080]. Using actual size
10.7633 EXP Created window1 = Window(allowGUI=False, allowStencil=False, args=UNKNOWN, autoLog=True, bitsMode=UNKNOWN, blendMode='avg', bpc=(8, 8, 8), color=array([0., 0., 0.]), colorSpace='rgb', depthBits=8, fullscr=<method-wrapper '__getattribute__' of attributeSetter object at 0x00000296767734E0>, gamma=None, gammaErrorPolicy='raise', kwargs=UNKNOWN, lms=UNKNOWN, monitor=<psychopy.monitors.calibTools.Monitor object at 0x0000029676478BA8>, multiSample=False, name='window1', numSamples=2, pos=[0.0, 0.0], screen=0, size=array([1920, 1080]), stencilBits=0, stereo=False, units='height', useFBO=True, useRetina=False, viewOri=0.0, viewPos=None, viewScale=None, waitBlanking=True, winType='pyglet')
10.7640 EXP window1: mouseVisible = True
10.7641 EXP window1: recordFrameIntervals = False
10.9284 EXP window1: recordFrameIntervals = True
11.1121 EXP window1: recordFrameIntervals = False
14.5055 EXP Created scrollText = TextStim(__class__=<class 'psychopy.visual.text.TextStim'>, alignHoriz=method-wrapper(...), alignText='center', alignVert=method-wrapper(...), anchorHoriz='center', anchorVert='center', antialias=True, autoLog=True, bold=False, color='white', colorSpace='named', contrast=1.0, depth=-2.0, flipHoriz=False, flipVert=False, font='Arial', fontFiles=[], height=0.1, italic=False, languageStyle='LTR', name='scrollText', opacity=1.0, ori=0, pos=array([-0.8 , 0.45]), rgb=array([255., 255., 255.]), text=str(...), units='height', win=Window(...), wrapWidth=1)
14.5373 DATA Mouse: Left button down, pos=(826,643)
14.5377 DATA Mouse: Left button up, pos=(826,643)
14.5392 DATA Keypress: escape
14.5500 EXP scrollText: autoDraw = True
15.0309 EXP window1: mouseVisible = True
participant,session,date,expName,psychopyVersion,frameRate,xRes,yRes,
1.6273 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use ['sounddevice', 'pyo', 'pygame'] (in that order).
7.2485 WARNING User requested fullscreen with size [1024 768], but screen is actually [1920, 1080]. Using actual size
9.0644 EXP Created window1 = Window(allowGUI=False, allowStencil=False, args=UNKNOWN, autoLog=True, bitsMode=UNKNOWN, blendMode='avg', bpc=(8, 8, 8), color=array([0., 0., 0.]), colorSpace='rgb', depthBits=8, fullscr=<method-wrapper '__getattribute__' of attributeSetter object at 0x00000227219844E0>, gamma=None, gammaErrorPolicy='raise', kwargs=UNKNOWN, lms=UNKNOWN, monitor=<psychopy.monitors.calibTools.Monitor object at 0x0000022721689BA8>, multiSample=False, name='window1', numSamples=2, pos=[0.0, 0.0], screen=0, size=array([1920, 1080]), stencilBits=0, stereo=False, units='height', useFBO=True, useRetina=False, viewOri=0.0, viewPos=None, viewScale=None, waitBlanking=True, winType='pyglet')
9.0652 EXP window1: mouseVisible = True
9.0652 EXP window1: recordFrameIntervals = False
9.2293 EXP window1: recordFrameIntervals = True
9.4129 EXP window1: recordFrameIntervals = False
9.9208 EXP Created scrollText = TextStim(__class__=<class 'psychopy.visual.text.TextStim'>, alignHoriz=method-wrapper(...), alignText='center', alignVert=method-wrapper(...), anchorHoriz='center', anchorVert='center', antialias=True, autoLog=True, bold=False, color='white', colorSpace='named', contrast=1.0, depth=-2.0, flipHoriz=False, flipVert=False, font='Arial', fontFiles=[], height=0.1, italic=False, languageStyle='LTR', name='scrollText', opacity=1.0, ori=0, pos=array([-0.8 , 0.45]), rgb=array([255., 255., 255.]), text=str(...), units='height', win=Window(...), wrapWidth=1)
9.9873 EXP scrollText: anchorHoriz = 'left'
9.9873 EXP scrollText: anchorVert = 'top'
9.9873 EXP scrollText: autoDraw = True
9.9873 EXP scrollText: text = 'Faculty of Health and Life Sciences\nDepartment of Psychology, Health and Professional Development\nOxford Brookes University, Headington, OXFORD OX3 0BP.'
24.0927 DATA Keypress: escape
24.7765 EXP window1: mouseVisible = True
participant,session,date,expName,psychopyVersion,frameRate,xRes,yRes,
1.8043 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use ['sounddevice', 'pyo', 'pygame'] (in that order).
7.3914 WARNING User requested fullscreen with size [1024 768], but screen is actually [1920, 1080]. Using actual size
9.6086 EXP Created window1 = Window(allowGUI=False, allowStencil=False, args=UNKNOWN, autoLog=True, bitsMode=UNKNOWN, blendMode='avg', bpc=(8, 8, 8), color=array([0., 0., 0.]), colorSpace='rgb', depthBits=8, fullscr=<method-wrapper '__getattribute__' of attributeSetter object at 0x000001C320E63550>, gamma=None, gammaErrorPolicy='raise', kwargs=UNKNOWN, lms=UNKNOWN, monitor=<psychopy.monitors.calibTools.Monitor object at 0x000001C320DA9C18>, multiSample=False, name='window1', numSamples=2, pos=[0.0, 0.0], screen=0, size=array([1920, 1080]), stencilBits=0, stereo=False, units='height', useFBO=True, useRetina=False, viewOri=0.0, viewPos=None, viewScale=None, waitBlanking=True, winType='pyglet')
9.6093 EXP window1: mouseVisible = True
9.6094 EXP window1: recordFrameIntervals = False
9.7737 EXP window1: recordFrameIntervals = True
9.9573 EXP window1: recordFrameIntervals = False
10.6634 EXP Created scrollText = TextStim(__class__=<class 'psychopy.visual.text.TextStim'>, alignHoriz=method-wrapper(...), alignText='center', alignVert=method-wrapper(...), anchorHoriz='center', anchorVert='center', antialias=True, autoLog=True, bold=False, color='white', colorSpace='named', contrast=1.0, depth=-2.0, flipHoriz=False, flipVert=False, font='Arial', fontFiles=[], height=0.03, italic=False, languageStyle='LTR', name='scrollText', opacity=1.0, ori=0, pos=array([-0.8 , 0.45]), rgb=array([255., 255., 255.]), text=str(...), units='height', win=Window(...), wrapWidth=1.7777777777777777)
10.9179 EXP scrollText: anchorHoriz = 'left'
10.9179 EXP scrollText: anchorVert = 'top'
10.9179 EXP scrollText: autoDraw = True
10.9179 EXP scrollText: text = "Faculty of Health and Life Sciences\nDepartment of Psychology, Health and Professional Development\nOxford Brookes University, Headington, OXFORD OX3 0BP.\n\n\n\nResearcher: *STUDENT NAME*, Undergraduate, Email: *EMAIL ADDRESS*\n\nSupervisor: *SUPERVISOR NAME*, Email: *EMAIL ADDRESS*, Tel: 01865 48*INTERNAL NUMBER*\n\nPlease take time to read the following information carefully.\n\n###What is the purpose of the study?\n*The background and the aim of the study should be given here. You should outline the overall design of the study. Again, you can be vague where giving away too much might bias your participants responses. Avoid technical or over-academic language*\n\n###Why have I been invited to participate?\n*You should explain how the individual was chosen to take part in the study and how many other people will be asked to participate. You should explain how the individual was chosen to take part in the study, and mention relevant inclusion or exclusion criteria. For example... This study is on adults in the UK aged between 18 and 70 who can read English fluently. A total of between 150 and 200 people will be asked to participate via invitations posted on social media.*\n\n###Do I have to take part?\nNo. It is up to you to decide whether or not to take part. If you do decide to take part you are still free to withdraw unprocessed data at any time by closing the browser before pressing the 'submit' button or by contacting the researcher with a unique code that will be displayed on screen after you submit. \n\n###What will happen to me if I take part?\nIf you choose to take part in the study, you will be presented with an online questionnaire, which should take no longer than *15-20* minutes to complete. *You should explain your methods of data collection, including what the individual will be asked to do and how much time will be involved. This description should be general enough that the participant will not be surprised by the questions. If information is withheld, ask your supervisor what to put here.*\n\n###What are the possible benefits or disadvantages of taking part?\nThere are no direct benefits of taking part in this study. However, we hope that you will find the questions interesting and that outcomes of this study will help to further develop research on this topic area. Other than the time you spend answering the questionnaire, there are no disadvantages of taking part in this study. *Please edit if there are any other disadvantages or risks to the participants, such as induction of a sad mood. Outline any direct benefits for the individual. There are usually none to anyone other than the researcher for their dissertation but if appropriate mention that they might find the study interesting or the activity enjoyable.*\n\n###Will what I say in this study be kept confidential?\nYes. You will not be asked to give any information that could be used to identify you personally (e.g., your name, date of birth, IP address). Confidentiality, privacy and anonymity will be ensured in the collection, storage and publication of research material (subject to legal limitations). Research data will be stored in Qualtrics and Google Drive, for which the University has security agreements, or uploaded to a repository so that it can be shared for teaching and research purposes. \n\n###What should I do if I want to take part?\nIf you would like to take part, please click on the Continue to Experiment button at the bottom of this page before proceeding.\n\n###What will happen to the results of the research study?\nThe results of this study will be written up and submitted as a piece of work to fulfil the requirements of a module at Oxford Brookes University. The results may also be published in an academic journal, presented at a conference or used for future research or teaching on the topic.\nOR\nThe results of the research will be used in an undergraduate psychology dissertation. If a publication is planned, the data generated by the study will be retained by the supervisor in accordance with the University's policy on Academic Integrity and may be kept securely for a period of ten years after the completion of the research project. If no publication is proposed the data will be deleted in *INSERT MONTH and YEAR*.\n\n###Who has reviewed the study?\nThis research is being conducted by a Psychology student at Oxford Brookes University as part of the requirement for their course. The study procedures have been reviewed and approved by the Psychology Research Ethics Committee, Oxford Brookes University. If you have any concerns about how the study has been conducted, please contact the Psychology Research Ethics Officer, Dr Emma Davies, on edavies@brookes.ac.uk\n \n###Contact for Further Information\nPlease contact the researcher or their supervisor (contact details above) if you would like any further information about this study. \n \nIf you wish to obtain a summary of the findings when they have been written up please e-mail *STUDENT NAME* at *EMAIL ADDRESS*@brookes.ac.uk after *RESULTS DAY*.\n\nThank you for taking time to read the information sheet.\n\n**Date**\n*TODAY'S DATE*"
34.4803 DATA Keypress: escape
35.0194 EXP window1: mouseVisible = True
participant,session,date,expName,psychopyVersion,frameRate,xRes,yRes,
1.6717 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use ['sounddevice', 'pyo', 'pygame'] (in that order).
7.6005 WARNING User requested fullscreen with size [1024 768], but screen is actually [1920, 1080]. Using actual size
9.2852 EXP Created window1 = Window(allowGUI=False, allowStencil=False, args=UNKNOWN, autoLog=True, bitsMode=UNKNOWN, blendMode='avg', bpc=(8, 8, 8), color=array([0., 0., 0.]), colorSpace='rgb', depthBits=8, fullscr=<method-wrapper '__getattribute__' of attributeSetter object at 0x00000206038F3550>, gamma=None, gammaErrorPolicy='raise', kwargs=UNKNOWN, lms=UNKNOWN, monitor=<psychopy.monitors.calibTools.Monitor object at 0x0000020603839C18>, multiSample=False, name='window1', numSamples=2, pos=[0.0, 0.0], screen=0, size=array([1920, 1080]), stencilBits=0, stereo=False, units='height', useFBO=True, useRetina=False, viewOri=0.0, viewPos=None, viewScale=None, waitBlanking=True, winType='pyglet')
9.2856 EXP window1: mouseVisible = True
9.2857 EXP window1: recordFrameIntervals = False
9.4510 EXP window1: recordFrameIntervals = True
9.6345 EXP window1: recordFrameIntervals = False
10.4416 EXP Created scrollText = TextStim(__class__=<class 'psychopy.visual.text.TextStim'>, alignHoriz=method-wrapper(...), alignText='center', alignVert=method-wrapper(...), anchorHoriz='center', anchorVert='center', antialias=True, autoLog=True, bold=False, color='white', colorSpace='named', contrast=1.0, depth=-2.0, flipHoriz=False, flipVert=False, font='Arial', fontFiles=[], height=0.03, italic=False, languageStyle='LTR', name='scrollText', opacity=1.0, ori=0, pos=array([-0.8 , 0.45]), rgb=array([255., 255., 255.]), text=str(...), units='height', win=Window(...), wrapWidth=1.5777777777777777)
10.6691 EXP scrollText: anchorHoriz = 'left'
10.6691 EXP scrollText: anchorVert = 'top'
10.6691 EXP scrollText: autoDraw = True
10.6691 EXP scrollText: text = "Faculty of Health and Life Sciences\nDepartment of Psychology, Health and Professional Development\nOxford Brookes University, Headington, OXFORD OX3 0BP.\n\n\n\nResearcher: *STUDENT NAME*, Undergraduate, Email: *EMAIL ADDRESS*\n\nSupervisor: *SUPERVISOR NAME*, Email: *EMAIL ADDRESS*, Tel: 01865 48*INTERNAL NUMBER*\n\nPlease take time to read the following information carefully.\n\n###What is the purpose of the study?\n*The background and the aim of the study should be given here. You should outline the overall design of the study. Again, you can be vague where giving away too much might bias your participants responses. Avoid technical or over-academic language*\n\n###Why have I been invited to participate?\n*You should explain how the individual was chosen to take part in the study and how many other people will be asked to participate. You should explain how the individual was chosen to take part in the study, and mention relevant inclusion or exclusion criteria. For example... This study is on adults in the UK aged between 18 and 70 who can read English fluently. A total of between 150 and 200 people will be asked to participate via invitations posted on social media.*\n\n###Do I have to take part?\nNo. It is up to you to decide whether or not to take part. If you do decide to take part you are still free to withdraw unprocessed data at any time by closing the browser before pressing the 'submit' button or by contacting the researcher with a unique code that will be displayed on screen after you submit. \n\n###What will happen to me if I take part?\nIf you choose to take part in the study, you will be presented with an online questionnaire, which should take no longer than *15-20* minutes to complete. *You should explain your methods of data collection, including what the individual will be asked to do and how much time will be involved. This description should be general enough that the participant will not be surprised by the questions. If information is withheld, ask your supervisor what to put here.*\n\n###What are the possible benefits or disadvantages of taking part?\nThere are no direct benefits of taking part in this study. However, we hope that you will find the questions interesting and that outcomes of this study will help to further develop research on this topic area. Other than the time you spend answering the questionnaire, there are no disadvantages of taking part in this study. *Please edit if there are any other disadvantages or risks to the participants, such as induction of a sad mood. Outline any direct benefits for the individual. There are usually none to anyone other than the researcher for their dissertation but if appropriate mention that they might find the study interesting or the activity enjoyable.*\n\n###Will what I say in this study be kept confidential?\nYes. You will not be asked to give any information that could be used to identify you personally (e.g., your name, date of birth, IP address). Confidentiality, privacy and anonymity will be ensured in the collection, storage and publication of research material (subject to legal limitations). Research data will be stored in Qualtrics and Google Drive, for which the University has security agreements, or uploaded to a repository so that it can be shared for teaching and research purposes. \n\n###What should I do if I want to take part?\nIf you would like to take part, please click on the Continue to Experiment button at the bottom of this page before proceeding.\n\n###What will happen to the results of the research study?\nThe results of this study will be written up and submitted as a piece of work to fulfil the requirements of a module at Oxford Brookes University. The results may also be published in an academic journal, presented at a conference or used for future research or teaching on the topic.\nOR\nThe results of the research will be used in an undergraduate psychology dissertation. If a publication is planned, the data generated by the study will be retained by the supervisor in accordance with the University's policy on Academic Integrity and may be kept securely for a period of ten years after the completion of the research project. If no publication is proposed the data will be deleted in *INSERT MONTH and YEAR*.\n\n###Who has reviewed the study?\nThis research is being conducted by a Psychology student at Oxford Brookes University as part of the requirement for their course. The study procedures have been reviewed and approved by the Psychology Research Ethics Committee, Oxford Brookes University. If you have any concerns about how the study has been conducted, please contact the Psychology Research Ethics Officer, Dr Emma Davies, on edavies@brookes.ac.uk\n \n###Contact for Further Information\nPlease contact the researcher or their supervisor (contact details above) if you would like any further information about this study. \n \nIf you wish to obtain a summary of the findings when they have been written up please e-mail *STUDENT NAME* at *EMAIL ADDRESS*@brookes.ac.uk after *RESULTS DAY*.\n\nThank you for taking time to read the information sheet.\n\n**Date**\n*TODAY'S DATE*"
15.4214 DATA Keypress: escape
15.9511 EXP window1: mouseVisible = True
participant,session,date,expName,psychopyVersion,frameRate,
2.1279 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use ['sounddevice', 'pyo', 'pygame'] (in that order).
12.5982 WARNING User requested fullscreen with size [1024 768], but screen is actually [1920, 1080]. Using actual size
14.9917 EXP Created window1 = Window(allowGUI=False, allowStencil=False, args=UNKNOWN, autoLog=True, bitsMode=UNKNOWN, blendMode='avg', bpc=(8, 8, 8), color=array([0., 0., 0.]), colorSpace='rgb', depthBits=8, fullscr=<method-wrapper '__getattribute__' of attributeSetter object at 0x000001CCD89B8550>, gamma=None, gammaErrorPolicy='raise', kwargs=UNKNOWN, lms=UNKNOWN, monitor=<psychopy.monitors.calibTools.Monitor object at 0x000001CCD88F8C18>, multiSample=False, name='window1', numSamples=2, pos=[0.0, 0.0], screen=0, size=array([1920, 1080]), stencilBits=0, stereo=False, units='height', useFBO=True, useRetina=False, viewOri=0.0, viewPos=None, viewScale=None, waitBlanking=True, winType='pyglet')
14.9927 EXP window1: mouseVisible = True
14.9928 EXP window1: recordFrameIntervals = False
15.1559 EXP window1: recordFrameIntervals = True
15.3393 EXP window1: recordFrameIntervals = False
16.1312 EXP window1: mouseVisible = True
participant,session,date,expName,psychopyVersion,frameRate,
1.6550 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use ['sounddevice', 'pyo', 'pygame'] (in that order).
7.7291 WARNING User requested fullscreen with size [1024 768], but screen is actually [1920, 1080]. Using actual size
10.0086 EXP Created window1 = Window(allowGUI=False, allowStencil=False, args=UNKNOWN, autoLog=True, bitsMode=UNKNOWN, blendMode='avg', bpc=(8, 8, 8), color=array([0., 0., 0.]), colorSpace='rgb', depthBits=8, fullscr=<method-wrapper '__getattribute__' of attributeSetter object at 0x0000023C94718668>, gamma=None, gammaErrorPolicy='raise', kwargs=UNKNOWN, lms=UNKNOWN, monitor=<psychopy.monitors.calibTools.Monitor object at 0x0000023C94618D30>, multiSample=False, name='window1', numSamples=2, pos=[0.0, 0.0], screen=0, size=array([1920, 1080]), stencilBits=0, stereo=False, units='height', useFBO=True, useRetina=False, viewOri=0.0, viewPos=None, viewScale=None, waitBlanking=True, winType='pyglet')
10.0093 EXP window1: mouseVisible = True
10.0094 EXP window1: recordFrameIntervals = False
10.1737 EXP window1: recordFrameIntervals = True
10.3575 EXP window1: recordFrameIntervals = False
10.7278 EXP window1: mouseVisible = True
11.0796 EXP window1: mouseVisible = True
mouse.started,mouse.stopped,participant,session,date,expName,psychopyVersion,frameRate,
None,None,,001,2021_Apr_15_2052,scroll-text,2020.2.10,60.092578626974216,
1.6939 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use ['sounddevice', 'pyo', 'pygame'] (in that order).
9.9757 WARNING User requested fullscreen with size [1024 768], but screen is actually [1920, 1080]. Using actual size
12.1495 EXP Created window1 = Window(allowGUI=False, allowStencil=False, args=UNKNOWN, autoLog=True, bitsMode=UNKNOWN, blendMode='avg', bpc=(8, 8, 8), color=array([0., 0., 0.]), colorSpace='rgb', depthBits=8, fullscr=<method-wrapper '__getattribute__' of attributeSetter object at 0x000001EF3EC98668>, gamma=None, gammaErrorPolicy='raise', kwargs=UNKNOWN, lms=UNKNOWN, monitor=<psychopy.monitors.calibTools.Monitor object at 0x000001EF3E998D30>, multiSample=False, name='window1', numSamples=2, pos=[0.0, 0.0], screen=0, size=array([1920, 1080]), stencilBits=0, stereo=False, units='height', useFBO=True, useRetina=False, viewOri=0.0, viewPos=None, viewScale=None, waitBlanking=True, winType='pyglet')
12.1503 EXP window1: mouseVisible = True
12.1504 EXP window1: recordFrameIntervals = False
12.3144 EXP window1: recordFrameIntervals = True
12.4981 EXP window1: recordFrameIntervals = False
12.8750 EXP window1: mouseVisible = True
12.9775 EXP Created scrollText = TextStim(__class__=<class 'psychopy.visual.text.TextStim'>, alignHoriz=method-wrapper(...), alignText='center', alignVert=method-wrapper(...), anchorHoriz='center', anchorVert='center', antialias=True, autoLog=True, bold=False, color='white', colorSpace='named', contrast=1.0, depth=-1.0, flipHoriz=False, flipVert=False, font='Arial', fontFiles=[], height=0.03, italic=False, languageStyle='LTR', name='scrollText', opacity=1.0, ori=0, pos=array([0., 0.]), rgb=array([255., 255., 255.]), text=str(...), units='height', win=Window(...), wrapWidth=1.5777777777777777)
13.0054 EXP scrollText: anchorHoriz = 'left'
13.0054 EXP scrollText: anchorVert = 'top'
13.5215 EXP scrollText: pos = array([-0.8 , 0.45])
13.5215 EXP scrollText: autoDraw = True
13.5215 EXP scrollText: text = 'Faculty of Health and Life Sciences\nDepartment of Psychology, Health and Professional Development\nOxford Brookes University, Headington, OXFORD OX3 0BP.\n\n'
21.4977 DATA Keypress: escape
22.0065 EXP window1: mouseVisible = True
mouse.started,mouse.stopped,participant,session,date,expName,psychopyVersion,frameRate,
None,None,,001,2021_Apr_16_0842,scroll-text,2020.2.10,59.993508701819664,
2.7787 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use ['sounddevice', 'pyo', 'pygame'] (in that order).
13.5218 WARNING User requested fullscreen with size [1024 768], but screen is actually [1920, 1080]. Using actual size
16.5952 EXP Created window1 = Window(allowGUI=False, allowStencil=False, args=UNKNOWN, autoLog=True, bitsMode=UNKNOWN, blendMode='avg', bpc=(8, 8, 8), color=array([0., 0., 0.]), colorSpace='rgb', depthBits=8, fullscr=<method-wrapper '__getattribute__' of attributeSetter object at 0x00000168CD5F27B8>, gamma=None, gammaErrorPolicy='raise', kwargs=UNKNOWN, lms=UNKNOWN, monitor=<psychopy.monitors.calibTools.Monitor object at 0x00000168CD577E80>, multiSample=False, name='window1', numSamples=2, pos=[0.0, 0.0], screen=0, size=array([1920, 1080]), stencilBits=0, stereo=False, units='height', useFBO=True, useRetina=False, viewOri=0.0, viewPos=None, viewScale=None, waitBlanking=True, winType='pyglet')
16.5955 EXP window1: mouseVisible = True
16.5955 EXP window1: recordFrameIntervals = False
16.7576 EXP window1: recordFrameIntervals = True
16.9422 EXP window1: recordFrameIntervals = False
17.3804 EXP window1: mouseVisible = True
17.7309 EXP Created scrollText = TextStim(__class__=<class 'psychopy.visual.text.TextStim'>, alignHoriz=method-wrapper(...), alignText='center', alignVert=method-wrapper(...), anchorHoriz='center', anchorVert='center', antialias=True, autoLog=True, bold=False, color='white', colorSpace='named', contrast=1.0, depth=-1.0, flipHoriz=False, flipVert=False, font='Arial', fontFiles=[], height=0.03, italic=False, languageStyle='LTR', name='scrollText', opacity=1.0, ori=0, pos=array([0., 0.]), rgb=array([255., 255., 255.]), text=str(...), units='height', win=Window(...), wrapWidth=1.5777777777777777)
17.7322 EXP Created scrollBar = Rect(__class__=<class 'psychopy.visual.rect.Rect'>, autoDraw=False, autoLog=True, closeShape=True, color=method-wrapper(...), colorSpace=None, contrast=1.0, depth=-3.0, fillColor=array([0., 0., 0.]), fillColorSpace='rgb', fillRGB=array([0., 0., 0.]), interpolate=True, lineColor=array([1., 1., 1.]), lineColorSpace='rgb', lineRGB=array([1., 1., 1.]), lineWidth=2, name='scrollBar', opacity=1.0, ori=array(0.), pos=array([0.84444444, 0. ]), size=array([0.04, 0.95]), units='height', vertices=ndarray(...), win=Window(...))
17.7334 EXP Created scrollButton = Rect(__class__=<class 'psychopy.visual.rect.Rect'>, autoDraw=False, autoLog=True, closeShape=True, color=method-wrapper(...), colorSpace=None, contrast=1.0, depth=-4.0, fillColor=array([1., 1., 1.]), fillColorSpace='rgb', fillRGB=array([1., 1., 1.]), interpolate=True, lineColor=array([1., 1., 1.]), lineColorSpace='rgb', lineRGB=array([1., 1., 1.]), lineWidth=2, name='scrollButton', opacity=1.0, ori=array(0.), pos=array([0.84444444, 0.45 ]), size=array([0.04, 0.04]), units='height', vertices=ndarray(...), win=Window(...))
17.7344 EXP Created bottomCrop = Rect(__class__=<class 'psychopy.visual.rect.Rect'>, autoDraw=False, autoLog=True, closeShape=True, color=method-wrapper(...), colorSpace=None, contrast=1.0, depth=-5.0, fillColor=array([0., 0., 0.]), fillColorSpace='rgb', fillRGB=array([0., 0., 0.]), interpolate=True, lineColor=array([0., 0., 0.]), lineColorSpace='rgb', lineRGB=array([0., 0., 0.]), lineWidth=1, name='bottomCrop', opacity=1.0, ori=array(0.), pos=array([ 0. , -0.475]), size=array([0.9 , 0.05]), units='height', vertices=ndarray(...), win=Window(...))
18.4481 EXP scrollText: pos = array([-0.8 , 0.45])
18.4481 EXP scrollText: anchorHoriz = 'left'
18.4481 EXP scrollText: anchorVert = 'top'
18.4481 EXP scrollText: autoDraw = True
18.4481 EXP scrollBar: autoDraw = True
18.4481 EXP scrollButton: autoDraw = True
18.4481 EXP bottomCrop: autoDraw = True
18.4481 EXP scrollText: text = "Faculty of Health and Life Sciences\nDepartment of Psychology, Health and Professional Development\nOxford Brookes University, Headington, OXFORD OX3 0BP.\n\nResearcher: *STUDENT NAME*, Undergraduate, Email: *EMAIL ADDRESS*\n\nSupervisor: *SUPERVISOR NAME*, Email: *EMAIL ADDRESS*, Tel: 01865 48*INTERNAL NUMBER*\n\nPlease take time to read the following information carefully.\n\n###What is the purpose of the study?\n*The background and the aim of the study should be given here. You should outline the overall design of the study. Again, you can be vague where giving away too much might bias your participants responses. Avoid technical or over-academic language*\n\n###Why have I been invited to participate?\n*You should explain how the individual was chosen to take part in the study and how many other people will be asked to participate. You should explain how the individual was chosen to take part in the study, and mention relevant inclusion or exclusion criteria. For example... This study is on adults in the UK aged between 18 and 70 who can read English fluently. A total of between 150 and 200 people will be asked to participate via invitations posted on social media.*\n\n###Do I have to take part?\nNo. It is up to you to decide whether or not to take part. If you do decide to take part you are still free to withdraw unprocessed data at any time by closing the browser before pressing the 'submit' button or by contacting the researcher with a unique code that will be displayed on screen after you submit. \n\n###What will happen to me if I take part?\nIf you choose to take part in the study, you will be presented with an online questionnaire, which should take no longer than *15-20* minutes to complete. *You should explain your methods of data collection, including what the individual will be asked to do and how much time will be involved. This description should be general enough that the participant will not be surprised by the questions. If information is withheld, ask your supervisor what to put here.*\n\n###What are the possible benefits or disadvantages of taking part?\nThere are no direct benefits of taking part in this study. However, we hope that you will find the questions interesting and that outcomes of this study will help to further develop research on this topic area. Other than the time you spend answering the questionnaire, there are no disadvantages of taking part in this study. *Please edit if there are any other disadvantages or risks to the participants, such as induction of a sad mood. Outline any direct benefits for the individual. There are usually none to anyone other than the researcher for their dissertation but if appropriate mention that they might find the study interesting or the activity enjoyable.*\n\n###Will what I say in this study be kept confidential?\nYes. You will not be asked to give any information that could be used to identify you personally (e.g., your name, date of birth, IP address). Confidentiality, privacy and anonymity will be ensured in the collection, storage and publication of research material (subject to legal limitations). Research data will be stored in Qualtrics and Google Drive, for which the University has security agreements, or uploaded to a repository so that it can be shared for teaching and research purposes. \n\n###What should I do if I want to take part?\nIf you would like to take part, please click on the Continue to Experiment button at the bottom of this page before proceeding.\n\n###What will happen to the results of the research study?\nThe results of this study will be written up and submitted as a piece of work to fulfil the requirements of a module at Oxford Brookes University. The results may also be published in an academic journal, presented at a conference or used for future research or teaching on the topic.\nOR\nThe results of the research will be used in an undergraduate psychology dissertation. If a publication is planned, the data generated by the study will be retained by the supervisor in accordance with the University's policy on Academic Integrity and may be kept securely for a period of ten years after the completion of the research project. If no publication is proposed the data will be deleted in *INSERT MONTH and YEAR*.\n\n###Who has reviewed the study?\nThis research is being conducted by a Psychology student at Oxford Brookes University as part of the requirement for their course. The study procedures have been reviewed and approved by the Psychology Research Ethics Committee, Oxford Brookes University. If you have any concerns about how the study has been conducted, please contact the Psychology Research Ethics Officer, Dr Emma Davies, on edavies@brookes.ac.uk\n \n###Contact for Further Information\nPlease contact the researcher or their supervisor (contact details above) if you would like any further information about this study. \n \nIf you wish to obtain a summary of the findings when they have been written up please e-mail *STUDENT NAME* at *EMAIL ADDRESS*@brookes.ac.uk after *RESULTS DAY*.\n\nThank you for taking time to read the information sheet.\n\n**Date**\n*TODAY'S DATE*\n\n\n\n"
21.1594 DATA Mouse: Left button down, pos=(1877,1020)
21.7593 DATA Mouse: Left button up, pos=(1882,922)
22.9419 DATA Keypress: escape
23.5914 EXP window1: mouseVisible = True
......@@ -145,7 +145,7 @@ function experimentInit() {
ori: 0, pos: [(screenRatio * 0.475), (trackLength / 2)],
lineWidth: 2, lineColor: new util.Color([1, 1, 1]),
fillColor: new util.Color([1, 1, 1]),
opacity: 1, depth: -3, interpolate: true,
opacity: 1, depth: -4, interpolate: true,
});
bottomCrop = new visual.Rect ({
......@@ -154,7 +154,7 @@ function experimentInit() {
ori: 0, pos: [(- 0.1), (- 0.475)],
lineWidth: 1, lineColor: new util.Color([0, 0, 0]),
fillColor: new util.Color([0, 0, 0]),
opacity: 1, depth: -3, interpolate: true,
opacity: 1, depth: -5, interpolate: true,
});
continueText = new visual.TextStim({
......@@ -289,12 +289,12 @@ function trialRoutineBegin(snapshot) {
line = _pj_a[_pj_c];
maxScroll += Math.ceil(((line.length * fontSize) / screenRatio));
}
maxScroll -= (round((1.6 / fontSize)) - 1);
viewAll = 0;
dragging = 0;
moving = 0;
scrollText.setPos([((- 0.45) * screenRatio), 0.45]);
maxScroll -= (round((1.6 / fontSize)) - 1);
scrollText.setAlignHoriz('left');
scrollText.setAlignVert('top');
// keep track of which components have finished
......
......@@ -156,7 +156,7 @@ function experimentInit() {
ori: 0, pos: [(screenRatio * 0.475), (trackLength / 2)],
lineWidth: 2, lineColor: new util.Color([1, 1, 1]),
fillColor: new util.Color([1, 1, 1]),
opacity: 1, depth: -3, interpolate: true,
opacity: 1, depth: -4, interpolate: true,
});
bottomCrop = new visual.Rect ({
......@@ -165,7 +165,7 @@ function experimentInit() {
ori: 0, pos: [(- 0.1), (- 0.475)],
lineWidth: 1, lineColor: new util.Color([0, 0, 0]),
fillColor: new util.Color([0, 0, 0]),
opacity: 1, depth: -3, interpolate: true,
opacity: 1, depth: -5, interpolate: true,
});
continueText = new visual.TextStim({
......@@ -299,12 +299,12 @@ function trialRoutineBegin(snapshot) {
line = _pj_a[_pj_c];
maxScroll += Math.ceil(((line.length * fontSize) / screenRatio));
}
maxScroll -= (round((1.6 / fontSize)) - 1);
viewAll = 0;
dragging = 0;
moving = 0;
scrollText.setPos([((- 0.45) * screenRatio), 0.45]);
maxScroll -= (round((1.6 / fontSize)) - 1);
scrollText.setAlignHoriz('left');
scrollText.setAlignVert('top');
// keep track of which components have finished
......
......@@ -102,8 +102,8 @@
<Param name="Before JS Experiment" updates="constant" val="" valType="extendedCode"/>
<Param name="Begin Experiment" updates="constant" val="screenRatio = win.size[0]/win.size[1]&amp;#10;fontSize=.03&amp;#10;mouseY=0&amp;#10;trackLength=.9&amp;#10;trackWidth=.04" valType="extendedCode"/>
<Param name="Begin JS Experiment" updates="constant" val="screenRatio = (win.size[0] / win.size[1]);&amp;#10;fontSize = 0.03;&amp;#10;mouseY = 0;&amp;#10;trackLength = 0.9;&amp;#10;trackWidth = 0.04;&amp;#10;" valType="extendedCode"/>
<Param name="Begin JS Routine" updates="constant" val="scroll = 0;&amp;#10;lines = scrollText.text.split(&quot;\n&quot;);&amp;#10;maxScroll = 0;&amp;#10;for (var line, _pj_c = 0, _pj_a = lines, _pj_b = _pj_a.length; (_pj_c &lt; _pj_b); _pj_c += 1) {&amp;#10; line = _pj_a[_pj_c];&amp;#10; maxScroll += Math.ceil(((line.length * fontSize) / screenRatio));&amp;#10;}&amp;#10;maxScroll -= (round((1.6 / fontSize)) - 1);&amp;#10;viewAll = 0;&amp;#10;dragging = 0;&amp;#10;moving = 0;&amp;#10;" valType="extendedCode"/>
<Param name="Begin Routine" updates="constant" val="scroll = 0&amp;#10;lines = scrollText.text.split('\n')&amp;#10;maxScroll = 0&amp;#10;for line in lines:&amp;#10; maxScroll += math.ceil(len(line)*fontSize/screenRatio)&amp;#10;&amp;#10;maxScroll-=round(1.6/fontSize)-1&amp;#10;viewAll=0&amp;#10;dragging=0&amp;#10;moving=0" valType="extendedCode"/>
<Param name="Begin JS Routine" updates="constant" val="scroll = 0;&amp;#10;lines = scrollText.text.split(&quot;\n&quot;);&amp;#10;maxScroll = 0;&amp;#10;for (var line, _pj_c = 0, _pj_a = lines, _pj_b = _pj_a.length; (_pj_c &lt; _pj_b); _pj_c += 1) {&amp;#10; line = _pj_a[_pj_c];&amp;#10; maxScroll += Math.ceil(((line.length * fontSize) / screenRatio));&amp;#10;}&amp;#10;viewAll = 0;&amp;#10;dragging = 0;&amp;#10;moving = 0;&amp;#10;" valType="extendedCode"/>
<Param name="Begin Routine" updates="constant" val="scroll = 0&amp;#10;lines = scrollText.text.split('\n')&amp;#10;maxScroll = 0&amp;#10;for line in lines:&amp;#10; maxScroll += math.ceil(len(line)*fontSize/screenRatio)&amp;#10;&amp;#10;viewAll=0&amp;#10;dragging=0&amp;#10;moving=0" valType="extendedCode"/>
<Param name="Code Type" updates="None" val="Auto-&gt;JS" valType="str"/>
<Param name="Each Frame" updates="constant" val="keys=event.getKeys()&amp;#10;if len(keys):&amp;#10; if viewAll==1 and 'space' in keys:&amp;#10; continueRoutine=False&amp;#10; elif 'down' in keys:&amp;#10; scroll+=1&amp;#10; moving=1&amp;#10; elif 'up' in keys:&amp;#10; scroll-=1&amp;#10; moving=1&amp;#10;elif mouse.isPressedIn(scrollBar):&amp;#10; mouseY=mouse.getPos()[1]&amp;#10; scroll = (trackLength/2-mouseY)*maxScroll/trackLength&amp;#10; moving=1&amp;#10;elif mouse.getPressed()[0] == 1:&amp;#10; if dragging==0:&amp;#10; dragging=1&amp;#10; mouseY=mouse.getPos()[1]&amp;#10; else:&amp;#10; scroll+=(mouse.getPos()[1]-mouseY)/fontSize/1.08&amp;#10; mouseY=mouse.getPos()[1]&amp;#10; moving=1&amp;#10;elif dragging==1:&amp;#10; dragging=0&amp;#10;if moving==1:&amp;#10; if scroll &lt;0:&amp;#10; scroll=0&amp;#10; elif scroll&gt;=maxScroll:&amp;#10; scroll=maxScroll&amp;#10; if viewAll == 0:&amp;#10; viewAll=1&amp;#10; continueText.text='Press space to continue' &amp;#10; scrollText.setPos((-.45*screenRatio, .45+scroll*fontSize*1.08))&amp;#10; scrollButton.setPos((screenRatio*.475, trackLength/2-trackLength*scroll/maxScroll))&amp;#10; bottomCrop.setPos((-.1+.01*(scroll%2), -.475))&amp;#10; continueText.setOpacity(1-.01*(scroll%2))&amp;#10; moving=0" valType="extendedCode"/>
<Param name="Each JS Frame" updates="constant" val="var _pj;&amp;#10;function _pj_snippets(container) {&amp;#10; function in_es6(left, right) {&amp;#10; if (((right instanceof Array) || ((typeof right) === &quot;string&quot;))) {&amp;#10; return (right.indexOf(left) &gt; (- 1));&amp;#10; } else {&amp;#10; if (((right instanceof Map) || (right instanceof Set) || (right instanceof WeakMap) || (right instanceof WeakSet))) {&amp;#10; return right.has(left);&amp;#10; } else {&amp;#10; return (left in right);&amp;#10; }&amp;#10; }&amp;#10; }&amp;#10; container[&quot;in_es6&quot;] = in_es6;&amp;#10; return container;&amp;#10;}&amp;#10;_pj = {};&amp;#10;_pj_snippets(_pj);&amp;#10;keys = event.getKeys();&amp;#10;if (keys.length) {&amp;#10; if (((viewAll === 1) &amp;&amp; _pj.in_es6(&quot;space&quot;, keys))) {&amp;#10; continueRoutine = false;&amp;#10; } else {&amp;#10; if (_pj.in_es6(&quot;down&quot;, keys)) {&amp;#10; scroll += 1;&amp;#10; moving = 1;&amp;#10; } else {&amp;#10; if (_pj.in_es6(&quot;up&quot;, keys)) {&amp;#10; scroll -= 1;&amp;#10; moving = 1;&amp;#10; }&amp;#10; }&amp;#10; }&amp;#10;} else {&amp;#10; if (mouse.isPressedIn(scrollBar)) {&amp;#10; mouseY = mouse.getPos()[1];&amp;#10; scroll = ((((trackLength / 2) - mouseY) * maxScroll) / trackLength);&amp;#10; moving = 1;&amp;#10; } else {&amp;#10; if ((mouse.getPressed()[0] === 1)) {&amp;#10; if ((dragging === 0)) {&amp;#10; dragging = 1;&amp;#10; mouseY = mouse.getPos()[1];&amp;#10; } else {&amp;#10; scroll += (((mouse.getPos()[1] - mouseY) / fontSize) / 1.08);&amp;#10; mouseY = mouse.getPos()[1];&amp;#10; moving = 1;&amp;#10; }&amp;#10; } else {&amp;#10; if ((dragging === 1)) {&amp;#10; dragging = 0;&amp;#10; }&amp;#10; }&amp;#10; }&amp;#10;}&amp;#10;if ((moving === 1)) {&amp;#10; if ((scroll &lt; 0)) {&amp;#10; scroll = 0;&amp;#10; } else {&amp;#10; if ((scroll &gt;= maxScroll)) {&amp;#10; scroll = maxScroll;&amp;#10; if ((viewAll === 0)) {&amp;#10; viewAll = 1;&amp;#10; continueText.text = &quot;Press space to continue&quot;;&amp;#10; }&amp;#10; }&amp;#10; }&amp;#10; scrollText.setPos([((- 0.45) * screenRatio), (0.45 + ((scroll * fontSize) * 1.08))]);&amp;#10; scrollButton.setPos([(screenRatio * 0.475), ((trackLength / 2) - ((trackLength * scroll) / maxScroll))]);&amp;#10; bottomCrop.setPos([((- 0.1) + (0.01 * (scroll % 2))), (- 0.475)]);&amp;#10; continueText.setOpacity((1 - (0.01 * (scroll % 2))));&amp;#10; moving = 0;&amp;#10;}&amp;#10;" valType="extendedCode"/>
......@@ -141,10 +141,10 @@
<CodeComponent name="align_code">
<Param name="Before Experiment" updates="constant" val="" valType="extendedCode"/>
<Param name="Before JS Experiment" updates="constant" val="" valType="extendedCode"/>
<Param name="Begin Experiment" updates="constant" val="&amp;#10;" valType="extendedCode"/>
<Param name="Begin Experiment" updates="constant" val="import math" valType="extendedCode"/>
<Param name="Begin JS Experiment" updates="constant" val="" valType="extendedCode"/>
<Param name="Begin JS Routine" updates="constant" val="scrollText.setAlignHoriz('left');&amp;#10;scrollText.setAlignVert('top');" valType="extendedCode"/>
<Param name="Begin Routine" updates="constant" val="scrollText.anchorHoriz='left'&amp;#10;scrollText.anchorVert='top'" valType="extendedCode"/>
<Param name="Begin JS Routine" updates="constant" val="maxScroll -= (round((1.6 / fontSize)) - 1);&amp;#10;scrollText.setAlignHoriz('left');&amp;#10;scrollText.setAlignVert('top');" valType="extendedCode"/>
<Param name="Begin Routine" updates="constant" val="maxScroll-=round(1.5/fontSize)-1&amp;#10;scrollText.anchorHoriz='left'&amp;#10;scrollText.anchorVert='top'&amp;#10;scrollText.alignText='left'" valType="extendedCode"/>
<Param name="Code Type" updates="None" val="Both" valType="str"/>
<Param name="Each Frame" updates="constant" val="" valType="extendedCode"/>
<Param name="Each JS Frame" updates="constant" val="" valType="extendedCode"/>
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment