Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

New Psychology Experiment

Hello Everyone,

For study purposes, I have to crate an experiment on OpenSesame where I need a 3x3 grid which means 9 boxes on the first slide of my experiment and I do not know how to make a grid on OpenSesame. Then I want to show pictures of objects randomly located at different boxes in the grid. I have already used OpenSesame for another experiment but this time I am stuck at the beginning.

I will appreciate if someone can assist me.Thank you in advance,

Susan

Comments

  • Hi @susan,

    Your description is a little generic to be able to advise you. The method t use would vary depending on the characteristics and demands of your task.

    Here's the simplest method, which you can hopefully adapt to your needs.

    Create a loop with 9 variables to contain the file names of the pictures you want to use.

    Create a slide to present the stimuli and place on it 9 image holders in a 3 x 3 arrangement, then edit the script of that slide and replace the picture file names with "[" + name of relevant variable + "]". Like so:

    Your slide would look like this:

    Then, the simplest method to shuffle the picture files among these locations is to use the shuffle_horiz command in the loop's script (see documentation: https://forum.cogsci.nl/discussion/8051/shuffle-horiz-taking-values-from-other-rows).

    This will display the 9 pictures and shuffle them randomly on each trial. Note that the shuffling is purely random, so if you have other requirements (e.g., making sure that every picture is presented equally often in each location across your experiment, for example), then you'd have to implement a more advanced solution using coding in Python (inline_script) or Javascript (inline_javascript).

    I attach the example illustrated above. The task simply requires a key press when the pictures appear.

    Hopefully you can adapt it and modify it to your needs.

    Good luck!

    Fabrice.


    Buy Me A Coffee

Sign In or Register to comment.