[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Pixel placement and resize
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Pixel placement and resize
- From: KKarasu <catsareninja@xxxxxxxxx>
- Date: Sat, 11 Oct 2008 23:35:22 +0100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sat, 11 Oct 2008 18:35:34 -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 :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=nSBs1qB+o3rS6R4619aVHRRrfUaEwpfK+zzvrQD2cVQ=; b=SguUeTo4Ou3Y8Z6pzuh/NlQHnkGhM6FecR/QW9WNSYUQYTJaKuKeArRVUIJnmcqg5i 6nIofM+Hir+16C+tgaDnWb2zDfmVJYQlIDfwdyO7PVQ2ekFHLkWzFoaxx9p3CTbLr8O5 kqTaEOkBKF7+5heckS+6D//1M3rSUWePfnuuQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=IWyyhPXHyApuXoq7VKCXa/3W56W82roHnCgw0FBH6I66Gsy3PKnlITpLd0LKx3bx0o Mz/7gFPsa+KwLj6Ln2y7Sp7ddAsbmeE5RNVAnd38a4Te0qzI2n03UDDsZ1tH5wGzxXyw S4CivOvNFy3njPS+EOECwEVEHL0SHQNsfMKVk=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: Thunderbird 2.0.0.17 (X11/20080925)
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).
I couldnt find a way to do that.(anythoughts about that?)
So, has pygame got that kind of stuff?
if so can i implement a tkinter interface with a pygame window in a
canvas of it?