request: Add a configuration option to adjust the speed of shader animations #4319
Unanswered
Talljoe
asked this question in
Feature Requests, Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I find one of the most common things I do when trying out a shader (e.g., from Shadertoys) in Ghostty is find all instances of
iTimeand scale them down so that the animation is far less distracting. It would be nice if I can set a configuration option to have Ghostty adjust the timescale for me. For example:This will make shaders more accessible to the non-technical user that wants to copy and paste from the internet. It will also make it easier for those that are comfortable modifying shaders to fine tune the speed of animations to their personal preference without a lot of effort.
I've built a proof of concept (linux only, no validation for
<= 0, ymmv). I've optimized for slowing things down and using whole numbers for that. So rather than0.1667you can do6to get 1/6th speed. Alternatively, we can make negative numbers "slower" and positive numbers "faster." If accepted, I can drive the Linux implementation across the line but would need assistance with MacOS as I don't have (easy dev) access to one.Extra credit: If we want to get fancy, a timescale for every custom shader:
Beta Was this translation helpful? Give feedback.
All reactions