Here’s a guide to creating a design by rotating a shape on a plane using a loop and variables in Tinkercad’s Codeblocks.
More guides:
Rotating objects along each axis, X, Y, and Z: https://youtu.be/QBpNlyHSLLs
Navigating the Codeblocks workplane: https://youtu.be/0_vshp-3EDg
Tiling Shapes in Codeblocks: https://youtu.be/kieonHMhQJM
A short video showing a 3D print that uses tiling but on the vertical walls of an object: https://youtu.be/VsdW49VnAsY