Re: manually cutting a picture

2007-11-08 Thread Amit Khemka
On 11/7/07, Cameron Walsh <[EMAIL PROTECTED]> wrote: > Amit Khemka wrote: > > > Cut image by "m X m" grid (bigger the m, the more varied shapes you > > would be able to generate), this will give you m*m square pieces. With > > each piece store a vector which represents the polygon (say by storing >

manually cutting a picture

2007-11-07 Thread Joseph king
well so far the problem for me is not the linking i have a kinda good code for that. here is a little snippet of the idea that i used on an old version that split the picture without input from the user. #this code defines that the edges have a place on the grid. def join_point(self, type): o

Re: manually cutting a picture

2007-11-07 Thread Cameron Walsh
Amit Khemka wrote: > Cut image by "m X m" grid (bigger the m, the more varied shapes you > would be able to generate), this will give you m*m square pieces. With > each piece store a vector which represents the polygon (say by storing > co-ordinates of the corners). > Now visualize this set of pie

Re: manually cutting a picture

2007-11-07 Thread Joseph king
Thanks that is a pretty good idea one thought that i came up with (honestly the only one that made sense) was to give the user a type of cookie cutter approach. where they would be presented with a selection of premade piece's that could divide the picture that they chose to how ever many piec

Re: manually cutting a picture

2007-11-06 Thread Amit Khemka
On 11/6/07, Joseph king <[EMAIL PROTECTED]> wrote: > I have a kinda hard question i am trying to build a jigsaw game with > python, i would like to give the option for people to create there own > puzzle piece does anyone know how to accomplish this it is becoming > increasingly difficult f

manually cutting a picture

2007-11-06 Thread Joseph king
I have a kinda hard question i am trying to build a jigsaw game with python, i would like to give the option for people to create there own puzzle piece does anyone know how to accomplish this it is becoming increasingly difficult for me -- http://mail.python.org/mailman/listinfo/python-li