In article mailman.1477.1382644948.18130.python-l...@python.org,
MRAB python-list@python.org wrote:
On 24/10/2013 20:32, markot...@gmail.com wrote:
So, i`ll take the canvas, somekind of mouse tracker, for each mouse
location il draw a dot or 2X2 square or something. Main thing i have
never
On Thu, Nov 7, 2013 at 10:30 PM, Albert van der Horst
alb...@spenarnc.xs4all.nl wrote:
A problem that remains is that a mouse is not intended for an infinite
canvas. At some point you will have to lift it and place it back on the
pad.
Only if you're talking about the physical grasp mouse,
How to create a program similar to paint, but the difference would be that the
cursor would be always in the middle and the canvas moves or the camera is
always fixed on the cursor as it moves around the canvas. And the canvas should
be infinite. What would be reasonable to use?
In addition,
To start with, you'll want some sort of Graphic User Interface, a
popular and common (but not the only) one is TkInter, which you can
dive into here: https://wiki.python.org/moin/TkInter
--
https://mail.python.org/mailman/listinfo/python-list
So, i`ll take the canvas, somekind of mouse tracker, for each mouse location il
draw a dot or 2X2 square or something. Main thing i have never understood, is
how can i get the backround to move.
Lets say ia hve 200X200 window. In the middle of it is the cursor that draws.
If i move the mouse
On 24/10/2013 20:32, markot...@gmail.com wrote:
So, i`ll take the canvas, somekind of mouse tracker, for each mouse
location il draw a dot or 2X2 square or something. Main thing i have
never understood, is how can i get the backround to move.
Lets say ia hve 200X200 window. In the middle of it
On 2013-10-24 12:16, markot...@gmail.com wrote:
How to create a program similar to paint, but the difference would
be that the cursor would be always in the middle and the canvas
moves or the camera is always fixed on the cursor as it moves
around the canvas. And the canvas should be infinite.
On 2013-10-24, Tim Chase t...@thechases.com wrote:
On 2013-10-24 12:16, markot...@gmail.com wrote:
How to create a program similar to paint, but the difference would
be that the cursor would be always in the middle and the canvas
moves or the camera is always fixed on the cursor as it moves
On 2013-10-24 21:51, Grant Edwards wrote:
To hold an (effectively) infinite *bitmap* canvas, you'd
(effectively) need an (effectively) infinite amount of memory.
Sparse arrays allow it to be sort-of implemented as long as most of
the bitmap is empty.
Fair enough. Raw bitmap canvas eats