SVG manipulate paths

I wanted to exercise in manipulating SVG using Javascript. Also I went for a comfortable UI, so I ended up with adding a snap sound which I found on freesound.org, following the guide I made before: Snapshoot sound - snapshoot()

Path


            

Data