Clear every frame displayed in canvas using timer

i have a question about the limitations of canvas refresh frame. exist to make the canvas works in 25fps or maybe 60fps. or its impossible?.