joshbrew / motion_extraction_canvas

Simple motion extraction canvas example with a slider for controlling the frame lag.
1 stars 0 forks source link

Something is not quite right here #1

Closed KleaTech closed 9 months ago

KleaTech commented 9 months ago

The still objects are somewhat visible, but they should be completely transparent. In the example video the leaf does not move, but it's still recognizable as a leaf: Screenshot_2024-02-02 23 18 44_yotn1Y Or on this shot the machinery is clearly visible: image Compare these to Posy's tutorial video, yo absolutely cannot see the bookshelf: Screenshot_2024-02-02 23 18 58_VbU66v Screenshot_2024-02-02 23 19 20_bp7JAj

joshbrew commented 9 months ago

I think I might have fixed it, putImageData was not working the way I expected, plus I was making too many animation loops so that would break later too.

I spent like 5 min on this before to get a cheap effect haha but it looks better now and is actually invisible on delay = 0.

Capture
KleaTech commented 9 months ago

Wow, very cool 👍 I spent a bit of time on this, but could not figure out what's wrong. Now it seems to work perfectly.