-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apple animation visual bug #5
Comments
It's a side effect of the scaling method used. The pixels are blurred, so naturally each frame of the animation will have some blurring from the adjacent frames. It should be a simple fix. |
I guess I'll set Doing that seems to fix it in Chrome/Chromium, though Firefox still has some slight artifacts, so it must be projecting the image into the canvas using the transformation matrix (containing non-integers), as the Line 233 in 48200bb
On a related note, I also always wanted polygon lines to not be antialiased. 8b96784 intentionally disabled antialiasing on polygons in Chrome, but I guess at some point they "fixed" it to always do antialiasing, and it seems like the standard way to disable it is still WIP: whatwg/html#9192. |
Hm, trying to update this to the Elma article but the apple visual animation bug remains, maybe I don't know how to upgrade the script? Reproduce steps:
I try to run the only npm script found in the package.json which gives two errors:
So how did I upgrade?
Any ideas? |
@abulaatikko I'm guessing that's happening because it's picking up a globally installed It should work if you run |
Ah, tried only "npm ci" which gave error [1] but actually now it works. Anyway so now [1]:
|
It's hard to say what might be going wrong then. I'm guessing there are some commands missing from your previous comment, since this sequence doesn't really make sense:
If you're not doing an automated build, I suspect the easiest way to update would be to just get the newest version of Otherwise, you could try doing |
Oh, yea "cd recplay" was missing, sorry! Here are the files I've got:
Oh now I got it working! I didn't notice that (maybe a README could have installation / upgrade instructions, just an idea) |
Done! 55e8f8e |
Great, thanks! Btw that README sounds like there's another way to build the script other than using the |
It was kind of alluding to how it would be used if it were packaged properly, where it would be installed in I've now added some packaging improvements so it's possible to install it that way, and added it to the README: 159806b To use it "properly", you'd need to set up your own bundler etc to generate the overall |
The apple animation left border is bugging visually (the horizontal line is appearing/disappearing while the apple is circulating) (must be zoomed close to see it) (happens https://elma.online/cup/WC9/events/9/map)
The text was updated successfully, but these errors were encountered: