Optimize pride css #211

Closed
transbitch wants to merge 1 commits from <deleted>:pride_username into master

Converts to step function so that way the color doesn't have to be interpolated every frame.

Converts to step function so that way the color doesn't have to be interpolated every frame.
transbitch added 1 commit 2023-10-06 15:34:01 +00:00

cpu usage seems to be the same for me

cpu usage seems to be the same for me

Tbh this seems slower looking at the profiler, color interpolation isn't that expensive, it's the repaint happening every frame that is the mostly costly part of this animation

Tbh this seems slower looking at the profiler, color interpolation isn't that expensive, it's the repaint happening every frame that is the mostly costly part of this animation

At least on firefox it's spending a significant amount of time computing intersections everyframe with the step function

At least on firefox it's spending a significant amount of time computing intersections everyframe with the step function
Aevann closed this pull request 2023-10-06 20:31:42 +00:00

Pull request closed

Sign in to join this conversation.
There is no content yet.