mrdoob / glsl-sandbox

Shader editor and gallery.
https://glslsandbox.com/
MIT License
1.54k stars 260 forks source link

Request: uniform time reset button #50

Closed cxw42 closed 2 years ago

cxw42 commented 7 years ago

For the benefit of animated shaders, would it be possible to add a button that resets the uniform time seen by the shader to 0.0? As far as I can tell from index.html, there's presently no way to set parameters.startTime = Date.now() except on page load. Thanks!