clojerl / doodler

Create drawings with code (heavily inspired in Clojure's Quil)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve frame rate calculation

jfacorro opened this issue · comments

Use the same approach as Processing here:

frameRate = (frameRate * 0.9f) + (instantaneousRate * 0.1f);