This is probably a really stupid question, but I'd greatly appreciate if someone could point me in the right direction. I'm writing a wave function collapse program in JavaScript embedded in HTML. It selects and places graphic tile images. I don't see anything happening until all tiles are placed (there are thousands). I'd like to be able to step through each tile's placement and see the updated page before the next tile is placed. I'm sure I'm missing something super simple here, but my searches online aren't finding anything. Thanks much.