PixelPlants

I’ve been playing with the quilting nine-block pattern generator idea to create some flower heads. The heads are made out of a random selectin of predefined pixel leaves/petals (thanks alison!). And then arranged according to the nine-block pattern rules. The program actually builds a new OpenGL texture and then writes a 16×16 grid of patterns into it. This is so I can use them later as a sprite sheet in my app. Following on from this stage the sofware ‘grows’ a pixel plant in realtime, using a rough l-system algo combined with some more game-specific logic. The screenshots don’t do the complete plants much justice as their limbs sway more in the breeze the further they are from the root!

Texture sprite sheets

Some early plants