the mouse even is explained in example shadertoy_glsl_mouse_event.py as well as some information in the comments on the source: https://www.shadertoy.com/view/Mss3zH
there is two issues with the current implementation when comparing the online reference with the local example:
while the mouse is down, the yellow line shows up. If you release - the yellow line should vanish. (fixed in first commit)
on "click" meaning the first frame when you click a white circle will show up. (in progress) a bit of a bodge where a click begins when you press the mouse button and ends when you move the mouse. This kind of resembles the behavior of the website when paused.
yeah, this is good as it is for now. It doesn't match the functionality of the website perfectly. But without knowing how they did it, makes it difficult to match.
first issue in #11
the mouse even is explained in example
shadertoy_glsl_mouse_event.py
as well as some information in the comments on the source: https://www.shadertoy.com/view/Mss3zHthere is two issues with the current implementation when comparing the online reference with the local example:
the first frame when you click a white circle will show up. (in progress)a bit of a bodge where a click begins when you press the mouse button and ends when you move the mouse. This kind of resembles the behavior of the website when paused.