News for hackers. Stuff that matters.
Re:Using pretext to make video masks – The Matrix (1999) exa... by zknowledge on Sunday March 29, 2026 @03:24PM (#47566314)
can we use pretext by Cheng Lou to make dynamic video masks?

YEP! w/ sampling each frame, detecting light/dark regions, then reflowing text into those shapes in realtime we get this cool realtime effect.

and ofc i did it with The Matrix first.

github repo: https://github.com/zkarimi22/pretext-video