Click to set tiles, then press space to render the quadtree. This can only run on turbowarp - https://turbowarp.org/568984095?clones=Infinity&fps=60 because it uses more clones than the scratch clone limit
Inspired by @myraycasterarchives - https://scratch.mit.edu/projects/568127263/ The algorithm used to draw the screen is from that project but the code is my own - it seems more concise as well.