Click the green flag.
This works by first converting the each pixel to gray scale using a weighted average. Then if the brightness (how high the weighted average is) of that pixel is above the threshold, it is set to white. Otherwise, it is set to black. Thanks to @PullJosh for the base project, and everybody he credited.