mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-10 18:50:54 +00:00
ENH: Add other shapes from Python to ShapeStim
This commit is contained in:
parent
04669d28b3
commit
11bddceb80
@ -372,6 +372,19 @@ ShapeStim.KnownShapes = {
|
|||||||
[-0.09, 0.18],
|
[-0.09, 0.18],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
triangle: [
|
||||||
|
[+0.0, 0.5], // Point
|
||||||
|
[-0.5, -0.5], // Bottom left
|
||||||
|
[+0.5, -0.5], // Bottom right
|
||||||
|
],
|
||||||
|
|
||||||
|
rectangle: [
|
||||||
|
[-.5, .5], // Top left
|
||||||
|
[ .5, .5], // Top right
|
||||||
|
[ .5, -.5], // Bottom left
|
||||||
|
[-.5, -.5], // Bottom right
|
||||||
|
],
|
||||||
|
|
||||||
arrow: [
|
arrow: [
|
||||||
[0.0, 0.5],
|
[0.0, 0.5],
|
||||||
[-0.5, 0.0],
|
[-0.5, 0.0],
|
||||||
|
Loading…
Reference in New Issue
Block a user