This is an extended version of my recursion example - you can use the scripts if you want! This is all made in one sprite, with two simple scripts! If you want it to just print that pattern onto the screen without the spiral effect, right-click on 'Draw Square of (Size) Size', go to 'edit' and tick 'Run Without Screen Refresh' I've also turned it into hexagons instead of squares.
I'M HEXADEC2. I TAKE ALL CREDIT APART FROM @griffpatch_tutor (see Rainbow Screen by Hexadec2, go to the credits and go to the custom blocks tutorial)