Reflected random vector

Constant-speed motion with smooth, forward-biased random steering. Starts at the top-left corner, reflects off the walls, and retains only five trail segments.

Five independent buffer cells, initially 9999.99. The outlined cell is the next to be replaced.
Speed is constant between slider changes; the default is 9% of the box width per second. Space pauses/resumes.