Rstats
Animation
Author

George Girton

Published

December 26, 2022

Crow Harassing Hawk

Picking up the newspapers on Christmas, I heard crows. The air was cold and I only had on reading glasses, but I could see them diving at the branch of a tall tree.

I thought I could see a hawk in the tree. I pulled out my phone camera.

I zoomed to the limit of digital zoom, and, among other photos, got this one.

A crow in sunshine

I thought I’d animate a clip, using the same technique I used last month with the hummingbird. When I stepped frame by frame while editing in the iPhone’s photos app, I got an experience of the ‘live photo’ that I wanted to share. Nothing is ever so easy, but it did turn out well enough to see the hawk flinch:

Click button at right or left to advance by frame:

Code
library(slickR)

    bird_frame_filenames <- list.files("frames/", pattern=".jpg", full.names = TRUE)

slickR(bird_frame_filenames, height = 250, width='80%') +
  settings(dots = TRUE,
  infinite= TRUE,
  speed = 0,
  fade = TRUE,
  cssEase = 'linear')