Use virtual chinrest to set the visual angle for the stimuli #3104
Unanswered
ruchirasakalle
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using the visual chinrest plug in to make the size of the stimuli dynamic. I am using the distance from the screen converting it to pixels and then using basic trigonometry to find the pixel for the radius of the circle I want to display. But I am unable to get the data from the visual chin rest trial of the distance to calculate the size of the circle. Appending the code for better help.
`
<script src="../jspsych-dist/dist/jspsych.js"></script> <script src="../jspsych-dist/dist/plugin-html-button-response.js"></script> <script src="../jspsych-dist/dist/plugin-preload.js"></script> <script src="https://pixijs.download/release/pixi.js"></script> <script src="../jspsych-dist/dist/plugin-survey-text.js"></script> <script src="../jspsych-dist/dist/plugin-survey-html-form.js"></script> <script src="../jspsych-dist/dist/plugin-survey-multi-choice.js"></script> <script src="../jspsych-dist/dist/plugin-instructions.js"></script> <script src="../jspsych-dist/dist/plugin-survey-likert.js"></script> <script src="../jspsych-dist/dist/plugin-virtual-chinrest.js"></script> <script src="../jspsych-psychophysics.js"></script> <script>Beta Was this translation helpful? Give feedback.
All reactions