PennController for IBEX › Forums › Support › Randomization of Stimuli Across Blocks › Reply To: Randomization of Stimuli Across Blocks
		June 28, 2020 at 4:50 pm
		
		#5733
		
		
		
	
Participant
		
		
	Hi Jeremy,
The code works perfectly. Thank you very much. I’ve tried it with different numbers of conditions and it works without any problems. I’ve also inserted the .sort(v=>1-2*(Math.random()>=0.5)) from above to make it work in Chrome. 
Thanks again for all your help. This is fantastic.
Andreas