Experiment(){
Context(){
AssignmentGroup(){
RandomizeTrials = 1;
SubjectCode = "pxlab";
ExperimentName = "SVG Picture Show";
new Size = 600;
ScreenBackgroundColor = White;
}
Session(){
Instruction(){
Text = ["Show Scaled SVG Pictures", " ", "Press any key to start!"];
}
}
SessionEnd(){
SessionEndMessage(){
}
}
Trial( TrialCounter, Picture.FileName, Size){
Picture(){
Duration = 2000;
Timer = de.pxlab.pxl.TimerCodes.LIMITED_RESPONSE_TIMER;
Directory = "./images/svg";
Width = Size;
Height = Size;
}
}
// Command line assignments
AssignmentGroup();
}
Procedure(){
Session(){
Block(){
Trial( ?, <"butterfly1.svg", "butterfly2.svg", "butterfly3.svg", "butterfly4.svg">, 4*screenHeight()/4);
Trial( ?, <"butterfly1.svg", "butterfly2.svg", "butterfly3.svg", "butterfly4.svg">, 3*screenHeight()/4);
Trial( ?, <"butterfly1.svg", "butterfly2.svg", "butterfly3.svg", "butterfly4.svg">, 2*screenHeight()/4);
Trial( ?, <"butterfly1.svg", "butterfly2.svg", "butterfly3.svg", "butterfly4.svg">, 1*screenHeight()/4);
}
}
}
}