More visible Voronoi cells

This commit is contained in:
Ian Jauslin 2024-02-22 16:42:57 -05:00
parent 29355191d6
commit 4a6d2a1758

View File

@ -208,8 +208,7 @@ class Painter(Widget):
return True
# draw a site in a Voronoi cell
def draw_voronoi_site(self,x,y,color):
Color(color[0],color[1],color[2],0.25)
#Color(1,0,0,alpha=0.25)
Color(color[0],color[1],color[2],0.75)
Rectangle(pos=(self.pos_tocoord_x(x-0.5),self.pos_tocoord_y(y-0.5)),size=(self.base_size,self.base_size))