draw a line


Author
Message
nakayama
nakayama
Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)
Group: Forum Members
Posts: 72, Visits: 408
Hi, Inquisit community
Is it possible to draw a tilted line?
I have noticed that the Shape supports circle, triangle and rectangle shapes.
If not, is there a similar way to approximate to draw a tilted line (maybe a tilted rectangle)?
Thank you for your reply;)
Attachments
sample3.iqx (226 views, 1.00 KB)
nakayama
nakayama
Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)
Group: Forum Members
Posts: 72, Visits: 408
nakayama - 10/24/2019
Hi, Inquisit community
Is it possible to draw a tilted line?
I have noticed that the Shape supports circle, triangle and rectangle shapes.
If not, is there a similar way to approximate to draw a tilted line (maybe a tilted rectangle)?
Thank you for your reply;)

I also notice triangle can provide a tilted line, is that possible to do by adjusting a triangle?
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
nakayama - 10/24/2019
nakayama - 10/24/2019
Hi, Inquisit community
Is it possible to draw a tilted line?
I have noticed that the Shape supports circle, triangle and rectangle shapes.
If not, is there a similar way to approximate to draw a tilted line (maybe a tilted rectangle)?
Thank you for your reply;)

I also notice triangle can provide a tilted line, is that possible to do by adjusting a triangle?

No, rotating or tilting stimuli (be it <shape>, <picture>, or <text> is not currently possible.

The closest you can get is drawing a triangle and have other objects cover up the parts you don't want, but this seems fiddly:

<shape triangle>
/ shape = triangle
/ color = blue
/ size = (40%, 20%)
/ position = (40%, 50%)
</shape>

<shape cover1>
/ shape = triangle
/ color = white
/ size = (40%, 20%)
/ position = (40%, 51%)
</shape>

<shape cover2>
/ shape = rectangle
/ color = white
/ size = (20%, 20%)
/ position = (30%, 50%)
</shape>

<trial example>
/ stimulusframes = [1=triangle, cover1, cover2]
/ validresponse = (57)
</trial>


nakayama
nakayama
Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)Guru (5.3K reputation)
Group: Forum Members
Posts: 72, Visits: 408
thank you for your advice. That is a great enlightenment;)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search