draw a Circular sector


Author
Message
Nakayama Yao
Nakayama Yao
Distinguished Member (4.2K reputation)Distinguished Member (4.2K reputation)Distinguished Member (4.2K reputation)Distinguished Member (4.2K reputation)Distinguished Member (4.2K reputation)Distinguished Member (4.2K reputation)Distinguished Member (4.2K reputation)Distinguished Member (4.2K reputation)Distinguished Member (4.2K reputation)
Group: Forum Members
Posts: 39, Visits: 230
HI, Inquisit community,
 I wonder if I can draw a fan-shaped "shape" under Inquisit's language, with a certain central angle (say 45 deg) and a radius (say 500 pixel).
Any sample script would be appreciated.
Thank you for your attention.
:)

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: 105K
Nakayama Yao - Sunday, November 5, 2017
HI, Inquisit community,
 I wonder if I can draw a fan-shaped "shape" under Inquisit's language, with a certain central angle (say 45 deg) and a radius (say 500 pixel).
Any sample script would be appreciated.
Thank you for your attention.
:)

I'm not entirely sure what you mean by a "fan-shaped" shape; what you can certainly do, though, is use Inquisit's trigonometric functions to calculate positions for a set of stimuli making up your overall shape -- the Spatial Delayed Response Task in the library would illustrate some of that (there, stimuli are arranged in a circle with a fixed radius, and drawn and certain angles). Otherwise, you might be better off drawing the desired shape in your preferred graphics application and then simply have Inquisit display it as a regular <picture>.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search