Just implemented it in Flockstr, I'll have to take a look how to adapt the code to svelte https://m.primal.net/HQGU.mov