The label for the button that clears the entire drawing. Whether to show the button that clears the entire drawing. The label for the button that ends the trial. Whether to show the button that ends the trial. Pass in the string representation of the key, e.g., 'a' for the A key or ' ' for the spacebar. The "ink" will flow when the button is held and stop when it is lifted. If this key is held down then it is like the mouse button being held down. Whether to save the individual stroke data that generated the final image. Whether to save the final image in the data as a base64 encoded data URL. The location to render the prompt content. "abovecanvas" or "belowcanvas" or "belowbutton" Clicking on the corresponding color button will change the stroke color. Note that a background_image will render on top of the color.Īrray of colors to render as a palette of choices for stroke color. Path to an image to render as the background of the canvasĬolor of the canvas background. Height of the canvas in pixels when canvas_shape is "rectangle"ĭiameter of the canvas in pixels when canvas_shape is "circle" Width of the canvas in pixels when canvas_shape is "rectangle" In addition to the parameters available in all plugins, this plugin accepts the following parameters. You can do this by putting data saving code inside the on_data_update event handler. If you are going to be collecting a lot of data with this plugin you may want to save your data to your server after each trial and not wait until the end of the experiment to perform a single bulk upload. You can reduce the amount of data generated by turning off storage of the individual stroke data ( save_strokes: false) or storage of the final image ( save_final_image: false) if your use case doesn't require that information. Each trial can easily add 500kb+ of data to a final JSON output. Demo Experiment: Simple Reaction Time Taskĭata Storage, Aggregation, and ManipulationĮxclude Participants Based on Browser Features
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |