The scrollable window shows code segments as you interact with the tutorial. The initial content consists of comments and the body of the function "drawTexturedSquare" that is called from the display function. Appropriate code is added with your interaction.