diff --git a/ShaderToyLite.js b/ShaderToyLite.js index 85b803d..a51c164 100644 --- a/ShaderToyLite.js +++ b/ShaderToyLite.js @@ -392,11 +392,11 @@ function ShaderToyLite(canvasId) { flip[key] = false; } - this.getTime = () => { + this.time = () => { return (prevDrawTime - firstDrawTime) * 0.001; } - this.getIsPlaying = () => isPlaying; + this.isPlaying = () => isPlaying; this.reset = () => { var now = new Date(); @@ -422,4 +422,4 @@ function ShaderToyLite(canvasId) { } setup(); -} \ No newline at end of file +}