diff options
Diffstat (limited to 'js/render.js')
| -rw-r--r-- | js/render.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/js/render.js b/js/render.js index 9d3ab04..fdb0125 100644 --- a/js/render.js +++ b/js/render.js @@ -93,11 +93,14 @@ function animate(t){ draw(t) // timing = +(new Date()) - timing fps = avg(fps, 1000/step_t, 4) - status(~~(fps) + " fps") + // status(~~(fps) + " fps") } + function draw(t) { t -= start_t t -= pause_t frame = giveFrame(t) shade(frame, t) } + +function status(s){ $("#status").html(s); console.log(s) } |
