neurogears / vestibular-vr

Closed-loop VR setup for Rancz Lab
2 stars 0 forks source link

Example motion cloud generation and display workflow #36

Closed RoboDoig closed 6 months ago

RoboDoig commented 6 months ago

Related to issue #24

The python implementation of MotionClouds seems too slow to generate motion cloud stimuli on-the-fly for a closed loop application. Therefore the approach decided was to pre-generate a motion cloud sequence and pre-load on the GPU for playback in a Bonsai workflow. This PR includes initial python code for generating a motion cloud stimulus, and a Bonsai workflow for loading and scrolling through the stimulus (using mouse wheel as a proxy for running wheel position).