dai-shi/excalidraw-animate

[Bug] Generated animation is slightly off on y-axis compared to original image

Open

#51 opened on Dec 24, 2023

View on GitHub
 (2 comments) (0 reactions) (0 assignees)TypeScript (135 forks)github user discovery
help wanted

Repository metrics

Stars
 (1,966 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I absolutely love the tool but faced this bug today, so thought I will report it.

Here's my excalidraw image: image

When I try to import it in excalidraw-animate it is animated, but slightly off-axis! This is a bit confusing, I have tried importing both via link and the .excalidraw file. Here's what it looks like:

Screen Recording 2023-12-24 at 4 55 55 PM

If you observe, the red arrows are offset on y-axis by a few pixels, unlike the original drawing!

Attaching my .excalidraw image for reproduction of the bug here: day_16.excalidraw.zip

p.s: Attaching as a .zip as Github doesn't support .excalidraw format! 🤦

Contributor guide