r/processing • u/not_Mai • Oct 02 '23
Beginner help request Stuck with the code of drawing this complex pattern! Please help me out if anybody knows how to code the repeated pattern in a tile structure as seen in the image below
2
Upvotes

View all comments
2
u/Simplyfire Oct 02 '23
Not sure what the question is but it seems more related to the base grid structure than the content of the tile itself.
I'd make a normally oriented horizontal/vertical grid and then rotate everything using translate() and rotate().
This draws a grid of grey rectangles rotated as shown in your image: