[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Pixel placement and resize
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Pixel placement and resize
- From: Knapp <magick.crow@xxxxxxxxx>
- Date: Sun, 12 Oct 2008 09:20:11 +0200
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sun, 12 Oct 2008 03:20:15 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Tb6XhDJzJPGYtJyH3ovDo7xt822QBxoCCG8Ss2J8OBU=; b=mOY5i8qU6v6rSWiopwo/DeW4Jwd7AjA4vl2xM/cWLDaAac++ACmyhPGYox1cGW9ZZt iJT+Iij0XFx9jPvv5AGuFUflisrhGNrUETOFxBeOpxgk3jv3wgiZSlcbMn9Yr1/3Cepd /PHwDuv5993Itaso5UJpqtAhBf/6z8Ue9uFss=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=fyIxOrtMhUXuu9nHkt6aXNyVELXArOrm1wm5hrHNdfW5uazOazhuBw1LLF/6AsM8vp r3/yZR4v/LykbKffO/wWiuONoYFSJKa8LdEYdVL9TiBoxvwqHhtdpM7z7lzNnYpYDRnN A2dIQujGW/3YEXDbtXcUD+8wAnICHh8p9iviM=
- In-reply-to: <48F12A2A.2090908@xxxxxxxxx>
- References: <48F12A2A.2090908@xxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
On Sun, Oct 12, 2008 at 12:35 AM, KKarasu <catsareninja@xxxxxxxxx> wrote:
> hello.
> Im doing this project of a biology dispersion simulator.
> Using a matrix(of 0 n 1 in a rows) i want to each value correspond to a
> pixel, in case of zooming in or out groups of 4 or 6 pixels.
>
> I was planing using tkinter for the interface, buttons n canvas and menus n
> sutch, but i cannot find a way to use pixel placement on canvas.
> I wanted something simple as put_pixel(x,y,collor).
http://www.pygame.org/docs/ref/pixelarray.html
Douglas E Knapp
http://sf-journey-creations.wikispot.org/Front_Page