On Thu, Nov 7, 2013 at 10:30 PM, Albert van der Horst
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, which is
probably the most
In article ,
MRAB 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 understood, is how can i get the backround to move.
>>
>> Lets say ia h
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 can
On 2013-10-24, Tim Chase 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
>> around the
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 infini
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 i
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 t
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
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, i