tools icon indicating copy to clipboard operation
tools copied to clipboard

A few bugs found while building on hand-drawn-canvas-animation (plus a fork with fixes)

Open anzal1 opened this issue 2 months ago • 2 comments

Thanks for this skill, it's a great base. I built a fork with a review tool for agents, and it turned up a few things upstream:

  1. verify.mjs hangs. examples/workshop.html (from #1) never calls defineFilm, so window.__ready is never set and the "all examples load" check times out after 60 s. Filtering the example list to files that contain defineFilm( fixes it.

  2. Grid thumbnails drop thin lines. gridSheet downscales 1920 to 240 in a single drawImage, which skips pixels, so correct frames look broken on the contact sheet agents rely on. Halving repeatedly before the final draw fixes it. Same film, same frames, before and after:

    before/after grid

  3. moon-book.html frame 615 (25.6 s): the book's dark back page disappears in a single frame.

  4. held-once.html frame 40: the hedgehog redraw snaps in one frame.

  5. render.mjs waits out the full 60 s timeout on a page error instead of failing fast with the message.

The fork with these fixes and more (onion skins, a motion report, parallel renders, SVG-path cels) is at https://github.com/anzal1/hand-drawn-film under MIT, crediting you. Happy to send PRs for any of these if you'd like them upstream.

anzal1 avatar Sep 23 '26 10:09 anzal1

Sure! Send the PR!

alesha-pro avatar Sep 24 '26 21:09 alesha-pro

Thanks! Sent it: #3. Four small commits (book cover pop in paper3d, verify skipping the workshop page, progressive downscale for grid thumbnails, render failing fast on page errors), each tested against the existing examples and the verify suite. Happy to adjust anything.

anzal1 avatar Sep 25 '26 05:09 anzal1