Adding an image texture to a mesh is straight forward in Codea. But what if I wanted to add a procedural shape to a mesh? I’m thinking about, for instance, adding a small blue triangle of random size inside a bigger, red, square, and that small triangle would behave like an image texture would, namely rotate as the square rotates.
Is there any efficient way to achieve this? Or is it just silly?