Based on a hexagonal game design for groworld by Tale of tales, I thought I’d make some ornamental roots on a hexagonal lattice:
You need a texture which contains all the combinations of attachments on 6 sides (= 64 tiles) I could probably have figured out how to do rotation in order to reduce this number a bit, but drawing is more fun than programming:
Yesterday’s pic is the template for drawing these roots. Then you process the texture a bit, and cut out the background with alpha:
And here it is in action with a bit of crossfading.
You click on the exposed tiles to grow into. In the future, nutrients and other goodies will be visible here, a bit like fog of war in RTS games. All the code is in the groworld git repo – including a window exe).