I can't put a fixation cross within a randomized code. Can you help me? #3030
Ricardo-Piccolo
started this conversation in
General
Replies: 1 comment 2 replies
-
Hi @Ricardo-Piccolo, This is covered in step 6 of the tutorial. Basically you just add the fixation trial to the timeline of var test1_trials = {
timeline: [fixation, test1],
...
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to put a fixation cross (+) in the middle of each stimulus. Those stimuli have to be randomized, but the fixation cross does not. How can I write a code like that? (e.g. cross, randomized stimulus cross, randomized stimulus, cross... and so on). Here's the current code (a part of it):
var test1_trials = {
timeline: [test1],
timeline_variables: [
{stimulus: 'cenoura.jpeg'},
{stimulus: 'cenoura.jpeg'},
{stimulus: 'coelho.jpeg'},
{stimulus: 'coelho.jpeg'},
{stimulus: 'coelho.jpeg'},
{stimulus: 'coelho.jpeg'},
{stimulus: 'coelho.jpeg'},
{stimulus: 'coelho.jpeg'},
{stimulus: 'coelho.jpeg'},
{stimulus: 'coelho.jpeg'},
],
randomize_order: true
};
timeline.push(test1_trials);
Beta Was this translation helpful? Give feedback.
All reactions