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.
Sorry, I didn’t read your post carefully enough. You’d like to integrate this library in PsychoJS, so you can draw these patches parametrically right?
The live demo shows how to draw them in a web page. The challenge is getting that output into an ImageStim. In the PsychoJS code, I see that the setImage function of an ImageStim can accept HTMLElements.