Dynamic framing rendering algorithm.