Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #57467
| Date | 2013-10-24 21:02 +0100 |
|---|---|
| From | MRAB <python@mrabarnett.plus.com> |
| Subject | Re: Unlimited canvas painting program |
| References | <5d107d11-0abf-4180-a994-3368f12979c1@googlegroups.com> <mailman.1476.1382642745.18130.python-list@python.org> <9927d3d4-2038-4780-901b-fe3c1251af75@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1477.1382644948.18130.python-list@python.org> (permalink) |
On 24/10/2013 20:32, markotaht@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 is the cursor > that draws. If i move the mouse the cursor doesent move, but the > canvas moves. So if i move mouse to the left, i get a line that goes > to the left. So i probably must invert the canvas movement. If mouse > goes left, canvas goes right. > > And if possible i would like to save my piece of art aswell :D > I think it'll be confusing because it goes against how every other program does it! In a painting program you can point to other things, such as tools, but if the cursor never moves... It would be simpler, IMHO, if you just moved the canvas and stopped the cursor going off the canvas when the user is drawing near the edge, so that the user doesn't need to stop drawing in order to expose more of the canvas.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Unlimited canvas painting program markotaht@gmail.com - 2013-10-24 12:16 -0700
Re: Unlimited canvas painting program Thomas Murphy <thomasmurphymusic@gmail.com> - 2013-10-24 15:22 -0400
Re: Unlimited canvas painting program markotaht@gmail.com - 2013-10-24 12:32 -0700
Re: Unlimited canvas painting program MRAB <python@mrabarnett.plus.com> - 2013-10-24 21:02 +0100
Re: Unlimited canvas painting program albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-11-07 11:30 +0000
Re: Unlimited canvas painting program Chris Angelico <rosuav@gmail.com> - 2013-11-08 00:04 +1100
Re: Unlimited canvas painting program Tim Chase <tim@thechases.com> - 2013-10-24 16:46 -0500
Re: Unlimited canvas painting program Grant Edwards <invalid@invalid.invalid> - 2013-10-24 21:51 +0000
Re: Unlimited canvas painting program Tim Chase <python.list@tim.thechases.com> - 2013-10-24 17:04 -0500
csiph-web