class

RayTracerChallenge::Adapters::SubPixelStream

Inherits Reference < Object

Constructors

new(canvas : Canvas)

Instance methods

more?
receive
sub_pixel_streamer

continuation fiber that feeds @sub_pixel_channel

Note: since PPM files start at the top left, the sub_pixel_streamer uses Canvas#flipped_each_with_index so that the canvas is streamed top to bottom.