Generate a flyd stream for document size, in streams of pairs of [document.body.offsetWidth, document.body.offsetHeight]. Each pair is pushed to the stream whenever the user resizes their window.
// [100, 200]// user resizes window... // [400, 500] halfSize$ = flyd