HTML canvas fps limiter

Fps limiter for browser games or some 2D/3D animations

目前為 2023-05-25 提交的版本,檢視 最新版本

作者
Konf
評價
0 0 0
版本
1.0.0
建立日期
2023-05-25
更新日期
2023-05-25
尺寸
5.8 KB
相容性
相容於 Firefox 相容於 Chrome 相容於 Opera
授權條款
未知
腳本執行於
所有網站

About

This works only for html canvas (so the browser games or complex animations), not the videos/gifs or the browser in general. This might be useful when you want to unlock your browser fps lock to reduce input lag in games. This script by itself can not increase your fps in any way, but there is some info about that, scroll down to read it

Also you might find useful the Performance monitor along with this script

The script might not work at all. Make a discussion topic about the website where the script is expected to work but it isn't

Screenshot

The script uses icon from icons8.com

How to install to a PC browser

Step 1. Scripts manager

To use scripts, first you need to install a scripts manager. My advice is Tampermonkey, since I use it too

Tampermonkey install links for different browsers, choose yours:

Chrome / VivaldiOperaFirefoxSafariMicrosoft Edge

If your browser is missing here, you can PM me on this website, and I will try to help you

Step 2. Come back here

Refresh the page and press the green Install button that is above this description

Step 3. Check if it works

It is? Oh wow

If you've got into some problems

This works tricky and there are 2 operation modes. Their purpose is to replace each other when one is not working. In some cases they both might not work. If default mode 1 is doing nothing, try to switch to mode 2. In some cases the mode 2 might destroy fps completely, but it wouldn't be sudden, you will see it right after page refreshing if it's going to happen. If it is happened, this probably means that the page has multiple "screens", and the mode 2 is currently working for some random single one of them. You can refresh the page multiple times to try to randomly set the limiter to the screen you need, but if this doesn't help, or you don't like this, and the mode 1 is not working too, this script can't really do nothing more

More

More fps always leads to less input lag which is really useful in games, but a browsers by default are restricting fps to your monitor refresh rate (e.g. 60). You can remove this restriction, but your fps might be way too high after that, causing some another problems... That's why this script might be useful, but this topic is complicated, and different people might get different performance results with different combinations of options, so you need to try a different approaches by yourself

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址