Also, if there is more information you would like about the code or the experiment, do not hesitate to reach out. If anybody has any ideas or solutions, please let me know. Depending on how many times the routine has looped, the active targets and distractors are pulled from master lists and represented in “active_targs” and “active_dists” respectfully.Įssentially, the fix I am looking for would only increment the counters when the mouse has been ‘unpressed,’ so that way it does not keep adding to the counter if the mouse is pressed for more than a single frame. There are 860 boxes total, which appear across 14 screens (60 boxes on each screen). Each box is determined to be a target or a distractor based on its position and its contents, and is added to a target or a distractor master list. To give some additional info which may be helpful, the clickable stimuli are boxes. I found this great app on deviantart by Dejco. The issue seems to be that it checks if the mouse is pressed on each frame, and if it is, it adds to the counter so, if the mouse is pressed for more than one frame, the counter continues incrementing, rather than registering it as only one click. With the Joltfly Drag Click Test game, you can drag your finger on the mouse and perform hundreds of clicks in one minute Its easy to play just drag. Mouse click counter See how much you actually press them buttons :D. ThisExp.addData("clicked_dists",clicked_dists) ThisExp.addData("clicked_targs",clicked_targs) On average, regular clickers can score up to 4-6 clicks per second which can be boosted up to 8 CPS with dedicated practice. To prevent incorrect calculations or usage of the dated records, pay attention to the accurate operation of the counter. Yet, to prevent errors, note that the function of the tally should be monitored. They help you save time and escape repetitive work. The following is from the “each frame” tab in the main trial routine, as there are many stimuli on the screen at a given time and the routine ends on a timer: for clickable in active_targs: Mouse click counter is a very useful tool that can significantly streamline our lives. The code has no problem determining whether it was a target or a distractor that has been clicked, but if the mouse click is held down for more than an instant, it will keep adding to the counter for that respective stimulus. I’m attempting to code an experiment that asks participants to click target stimuli intermixed with distractors.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |