I’m trying to make a “quadrant (A quarter of a circle)” as a polygon stimuli.
Any information will be helpful.
I’m trying to make a “quadrant (A quarter of a circle)” as a polygon stimuli.
Any information will be helpful.
There’s a bunch of different ways to do this, the easiest way is probably make a circle with 360 corners and only use 90 of them. So you would add a Polygon component, set it’s shape to “regular polygon” with 360 sides, then in the Begin Experiment tab of a Code component do:
myPolygon.vertices = np.vstack(myPolygon.vertices[:90], (0,0))
Thanks for helping. It works!
myPolygon.vertices = np.vstack((myPolygon.vertices[:90], (0,0)))