hi josh,
two things came up, working on a new experiment.
1. i’m trying to preload about 640 images, which are about 170mb big in total. the preloading takes a while, but eventually finishes and seems to be ok. but when running the experiment, the pictures seem be quite slow. i don’t think it’s due to the execution of my code, because i display values on top of the images and those values are usually displayed faster. is it just too much data for a browser to handle or am i doing something wrong? i could also try to first load the images in a hidden element and then display them at once, but not sure this would really makes things faster. what do you think?
2. i ran into a weird problem the other day. i was trying to shuffle, and repeat an array of objects, but then assign a trial index with a loop so i can easily update the customized progressbar. whatever i’ve tried, the assigned trial index was out of order. my work around was to use your current chunk id function and transform that until i got what i wanted, but i’m wondering where this strange behaviour comes from. i wrote a small script to highlight this (check the console):
nothing urgent, appreciating any comments.
cheers.
adrian.