Watch the video
So I’ve been doing a bit of creative coding, looking at ways to make pretty patterns. The idea was to use them as backgrounds in my videos to add a bit of interest behind static images and things that didn’t quite fill the screen.
I came across a thing called Wang Tiles which caught my eye due to their non-repeating nature and the way they looked fairly easy to create. I did try making sense of algorithms to create Penrose Tiles, but they were either too maths heavy or full of impenetrable code with no explanation.
I later found out Wang Tiles also let you create nice looking 2D paths and designs so it can also be used to draw parts of levels for 2D games.
I mostly used information from the website cr31.co.uk which has just enough information to work out the logic for the code.