Responsive Duration

Scene duration depending on window size.

With some responsive layouts you might want the scene to take exactly as long as the height of the viewport is.
This behaviour can easily achieved by updating the scene's duration when the window resize event is triggered.
Try resizing this window and watch how the scene behaves.

view source

Just breathe.

view source