Framework for painting

Hello, im looking for a framework recommendation, i want to make something similar to a paint brush with ink dripping so as the mouse moves the ink will drip there, this way the user will almost paint a white canvas.

Do you guys know some framework that can help me doing this ? At first i think about something that will work beside threejs but any framework idea is welcome!

To best visualize the idea imagine that the mouse would be the paint brush in this video

Both Canvas API and three should be able to help you.

The entire trick would be to spawn “ink droplets” around the cursor and expand them - either with scaling, marching cubes, or some simple floor fill algorithm :thinking: