Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #57472
| Date | 2013-10-24 16:46 -0500 |
|---|---|
| From | Tim Chase <tim@thechases.com> |
| Subject | Re: Unlimited canvas painting program |
| References | <5d107d11-0abf-4180-a994-3368f12979c1@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1482.1382651119.18130.python-list@python.org> (permalink) |
On 2013-10-24 12:16, markotaht@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. What would be > reasonable to use? To hold an (effectively) infinite *bitmap* canvas, you'd (effectively) need an (effectively) infinite amount of memory. However, it could be done with an (effectively) infinite *vector* canvas. That way you could limit the on-screen rendering to just the clipped subset of the vector collection. You'd still want to make it easy to toggle between "draw" and "stop drawing", but you could make a mouse-click. To implement, just pick a GUI library tkinter, wx, or whatver. -tkc
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