Hi!
I have a project management class exercise where my team needs to write --
or hire someone to write for us, we haven't yet decided on what approach
will use -- an application that allows us to divide a square in four equal
parts, with user interaction.
I was thinking on what to use for such a task and I'm divided about using
wxPython with some sort of canvas or pygame.
An overview of the project might help you undertand what we have to do...
The user should be able to draw in part (a quarter, for example) of a square
or in the full square and his drawn should be replicated in the rest of the
square so that when he finishes the drawing the big square was divided in
four equal parts.
···
+----------------+----------------+
> > >
> > >
> > >
> 1 | 2 |
> > >
> > >
+----------------+----------------+
> > >
> > >
> > >
> 4 | 3 |
> > >
> > >
+----------------+----------------+
I thought about dividing the big square in for and letting the user draw
anything from the upper left corner of square 2 to its lower right line,
but not the corner. The "pen" would be disable for areas smaller than 3 to
10 pixels from the (virtual, invisible or very light) separation lines with
squares 1 and 3, so that he doesn't divide the square in more parts than 4
equal parts.
After (or while) the drawing is done in square 2, it should be rotated in
intervals of 90 degrees to the other squares, to replicate and divide the
big square in four parts.
Do you think it's doable with wxPython? Or would I be better trying it with
pygame?
Thanks for any comments you might have,
--
Godoy. <godoy@ieee.org>