Transcript
CHRISTIAN NOLD
In this video, I’m going to show you how to insert your own tile designs into the pattern maker. So, this is my codesnippets file, where I’ve saved four different tile designs that I’ve created previously. So, this is my first tile, this is the second tile, the third tile, and the fourth tile. And what I’m going to do is I’m just going to go to this program, the pattern maker, and I’m going to insert it inside the function. So, I find here the function for Tile1, and this is the code that describes Tile1.
And what I’m going to do is I’m just going to go and copy that code that I designed previously into the space of that tile. And I’m careful to stay within that space. So, you see that’s changed. And I’m just going to press Play here. So, there you go! Tile1 has changed. Instead of being the number 1 here, it’s become this kind of blue square.
I’m just going to go back and take the second tile design and go down to function 2. This one’s a bit longer here. And I’m just going to paste it on top of there. So, you can see, it’s a different length. That doesn’t matter. I’m just going to press Play. There you go. We’ve just replaced that number 2 with this kind of shape here. I’m going to get my third tile design, and I’m going to go down to function Tile3 and replace it into this space.
So, I paste it on top, press Play. There you go! We now have this kind of purple shape. And I’m going to get the fourth one. And I’m going to go down to function Tile4 and replace this code with my own tile design and press Play. There you go. So, what I’ve done here is I’ve replaced all the tile designs in the given example with my own tile design. So, we have 1, 2, 3, 4.