This experiment was developed following the same idea used on the previous Water effect. This time we have 120 lines being drawn to form the hair. Each line has 5 segments that are linked with curveTo.
I like the way the hair is moving; the line’s thickness could be a bit thinner though…
Updated: after adding a thinner shape at the end of each line (that follows the line movement), I think the result is a bit better now! We lost a bit in performance but the visual has improved significantly.
Check it out here (12kb).
You can also check an even more cpu killer version here (200 lines) ![]()
Source files here.




gringo likes
Nice work.