Re:Scenic Tram Simulator
by cyberferret on Monday September 25, 2017 @12:51AM
(#15328153)
Just curious - did you draw all this artwork yourself? It is exquisite. If so, did you draw onto paper then scan in, or did you use a tablet etc. to create vector drawing that you then animated?
On all my browsers here it animates smoothly enough (good frame rate), but every time it renders changing parts of a frame there’s some flashing effect, and as a result when the car is moving fast looking at the background is pretty unpleasant, especially skinny high-contrast elements like the trees and posts against a white background
Maybe that’s just inevitable when using the canvas for painting?
Just something that might help you debug it, it looked a lot more fluid on my 60hz screen than my 144hz one, where it got pretty jarring at full tram speed. You might also want to add a rate limiter on the bell, but that's personal preference.
Whilst it shouldn't be surprising, I'm astounded as to how much of a science and balancing act it is to achieve frames that at least ~feel~ smooth, especially on web browsers.
I'll be working away as much as possible to try and make things silky all over. Thanks for your patience until then!