Hi, Bill, I think your work is quite great! now, I want to reference your code to implementing a hexagonal grid. Would you kind to give me some suggestions? My code is
from kivy.app import App
from kivy.core.image import Image as CoreImage
from kivy.uix.label import Label
from kivy.graphics import Rectangle
from kivy.core.window import Window
class MyLabel(Label):
def __init__(self,**kwargs):
super(MyLabel,self).__init__(**kwargs)
with self.canvas:
texture = CoreImage('grass_01.png').texture
texture.wrap = 'repeat'
nx = self.width / texture.width + 1
ny = self.height / texture.height
for i in range(int(2*ny)):
if i % 2 == 0:
x = -texture.width/2.0
elif i % 2 == 1:
x = 0
y = (i-1)*texture.height *3/4.0
Rectangle(pos=(x, y),
size=(self.width + texture.width, texture.height),
texture=texture,
tex_coords=(0, 0, nx, 0, nx, 1, 0, 1))
class MyApp(App):
def build(self):
return MyLabel(size=Window.size)
if __name__ == '__main__':
MyApp().run()

the result seemed OK, but I am not sure the black line along the row is normal, and no black line between the coloumn, I want to know is there any direct way to implementing a hexagonal grid in kivy? I am quite new to kivy, is it OK to use Mesh or other VertexInstruction to do it and how? Thank you in advance.
Simon