A solution looking for problem?
by David Thomas — May 2016
An input path is given to Wasp
Its curves are flattened and the polygon is turned into a bunch of line intercepts (an Edge Buffer)
The Edge Buffer is downsampled 8:1 adding anti-aliasing
This gives us runs of on/off/edge data
Wasp encodes this naturally run-length encoded data as a Clip Mask
Compression
find the longest string of identical input bytes
find the longest string of non-identical input bytes
emit them if non-zero long
repeat
Decompression
if R: while count: emit value
if L: while count: copy values from input
(Clip Masks are patented...)
A
B
There is a QUIZ on the next page. Get ready!
IT IS A QUIZ
The MotionMasks project on github: