Parameterized Shape for MWork

Chia-Jung (Dana) Chang's Avatar

Chia-Jung (Dana) Chang

01 Feb, 2017 05:21 PM

Hi Chris,

I have two questions for MWork.

(1) specific parameterized shape
I have been trying to create a fan shape that can be parameterized (orientation, size, angle, etc) from MWork. Basically, I would like to make the task look like something in the attached pdf file. I know we can import an existing object image and control the size and orientation. However, this is not as easy to control compared to the existing rectangle and ellipse shape in MWork. Is there a way to do this?

(2) creating hole in occluder
I am also thinking to build a rectangle occluder with a hole, so that when a ball passes under, it can show up through the hole and then get occluded afterwards again -- something like attached pdf file. However, I am not sure if it is possible to have this in MWorks.


  1. 1 Posted by Chia-Jung (Dana... on 01 Feb, 2017 05:23 PM

    Chia-Jung (Dana) Chang's Avatar

    Hi Chris,

    Sorry I forgot to attache pdf figures in my previous email.

  2. Support Staff 2 Posted by Christopher Sta... on 01 Feb, 2017 06:45 PM

    Christopher Stawarz's Avatar

    Hi Chia-Jung,

    In both cases, I think image files are your only option at present. For the occluder, the hole would need to be a transparent region (with zero in the alpha channel), so that whatever is behind it will show through.

    If image files aren't flexible enough, we could create a custom stimulus plugin that does what you want. This would take more time (both to develop initially and to make iterative changes as your experiment evolves), but it would give you maximum freedom to make the stimulus behave as you desire. If you're interested in pursuing this path, I'd be happy to discuss it further.


  3. Christopher Stawarz closed this discussion on 20 Mar, 2017 01:53 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac