a breakdown on how it was developed
from inside of a svelte component. there is a onMount()
function that handles loading the photo src's into the array
b8e77bd5-441a-4cae-88b3-d61b2b3b84fe
in svelte we need to remember to wrap in browser check
d477dc5f-2932-45d9-96a9-64e4f4d47550
handling the mouse move requires passing through the window position of the mouse to the handlers which will track where the duck is
idea: there can be a middleware function that takes the positions and applies a smooth damp algo to the position of the duck relative to the pos of the mouse.
f17ec264-d966-43b7-9823-f59528165660