The front end tracks the line drawing in real time.

problem description

accidentally found the following picture of such an effect of a page, the effect is very good, but the source code is compressed can not see, would like to ask the experienced boss, the idea to achieve this effect.

Page address

Sep.09,2021

general idea (guessed)
1 Diffusion
weighted average of each point according to the surrounding points (similar to Gaussian blur)
2 dilution
every time using translucent black layer to make full canvas Alpah Blending (canvas seems to have a way to do it directly without having to do it point by point)

Menu