I’m aware grating patches are not implemented online yet. I’m so aware that because screen calibration is not possible the sinosoids wouldn’t actually be sinusoids. That being said, I want to implement Gabor patches and I’m ok with the sinusoid problem.
I found some JS code to generate Gabor patches here: https://github.com/jtth/gaborgen-js/blob/gh-pages/gab.js
but I’m not sure how to get from the calculation to actually displaying the patch. Any guidance or tip would be mych appreciated.