By nakayama - 11/4/2019
Hi Dave, i wish to use pixel to calculate the position and I am aware anything in expressions has no unit so I add*1px, But the stimulus still did not show, How could i fix this (the screen resolution is 1960*1200, and "960", "1000", "65" are all in pixel) thank you;)
|
By Dave - 11/4/2019
+xHi Dave, i wish to use pixel to calculate the position and I am aware anything in expressions has no unit so I add*1px, But the stimulus still did not show, How could i fix this (the screen resolution is 1960*1200, and "960", "1000", "65" are all in pixel) thank you;) The first term in the calculation determines the unit, so it needs to be:
<expressions> /circle_a= 1px*(values.circle_r/sin(1.5708)) / circle_b=1px*((values.circle_r+values.circle_r*sin(1.5708))/tan(0.174533)) / circle_x1=1px*(960-expressions.circle_a) /circle_y1=1px*(1000-expressions.circle_b) </expressions>
|
|