Re: [pygame] Webcam, OpenCV and Python/Pygame
We didn't use OpenCV (never heard of it) but here's what we made with a webcam, projector and pygame: http://algomantra.blogspot.com/2007/11/parab0xx-light-controlled-musical.html
Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))
> That's like saying that an ocean liner isn't > > a ship because it wouldn't be able to get off > > the ground into the sea by itself. > > It has the body of a lion, and the head of a lion, but does that, in fact, make it a lion? ----.- 1/f ))) --. ---... http://www.algomantra.com
Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))
which reminds me of: "There are no passengers on spaceship earth. We are all crew." (Marshall McLuhan)
Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))
On Tue, Mar 4, 2008 at 5:29 AM, Lenard Lindstrom <[EMAIL PROTECTED]> wrote: > You have a space shuttle in your garage. Wow, that must be one big garage. We've not yet confirmed if Ian is humanoid. It is yet early to speculate about the size of his ship, and therefore, his garage. -- ----.- 1/f ))) --. ---... http://www.algomantra.com
Re: [pygame] PyDay #1
Yaaa...I'm on!!! Nothing like a challenge to get me off me lazyr pirate arse. -- ----.- 1/f ))) --. ---... http://www.algomantra.com
Re: [pygame] PyDay #1
On Thu, Feb 28, 2008 at 7:34 AM, PyMike <[EMAIL PROTECTED]> wrote: > Hey people! > > My team has started a Python/PyGame challenge called PyDay. In the > competition you will make a one file game in 24 hours, no larger than 32 KB, > drawing all graphics internally (inside the code. That means NO image > editors!). See the site for details: http://groups.google.com/group/pyday > > Hope to see you there! > > -- > - PyMike coolness. but what's the bounty? -- ----.- 1/f ))) --. ---... http://www.algomantra.com
Re: [pygame] pygame project featured on Wired News
I got the clearance from my partners. I just want to thank the members of this list for helping me out during the making of this code. I love it! Parab0xx made it to Wired, I couldn't ask for more :) Source zip: http://rohitgupta.xwiki.com/xwiki/bin/download/Main/WebHome/parab0xx.zip That's the source with all the files. I'd love to hear from anyone on this list about their experience. If you do manage to modify it somewhat, I'd love to know what you did with it! I'm also happy to answer any queries. cheers, ----.- 1/f ))) --. ---... http://www.algomantra.com
Re: [pygame] pygame project featured on Wired News
On Nov 28, 2007 8:45 AM, Mark Mruss <[EMAIL PROTECTED]> wrote: > That does look very cool, what were the motivations behind the > project? I'd also love to take a look at the source code. > > mark. > thanks, mark. there's a good description at our website (see below). I made this while learning Pygame. I'm very interested in DJing like a magician would. So I'm trying to create interfaces that look mystical or tantric in nature. That's the motivation. It's not a very complicated program. The only external you'll need is the VideoCapture module. Like I said, I'm just waiting to get clearance to release the actual source. I would love to have more feedback here on what Pygamers think! ----.- 1/f ))) --. ---... http://www.algomantra.com
Re: [pygame] pygame project featured on Wired News
On Nov 28, 2007 8:33 AM, Kevin <[EMAIL PROTECTED]> wrote: > That's pretty cool; I'll be interested to see the Source. > I'd love to release the source on this list, Kevin. Just waiting for clearance from the other boys. I'm having a tough time explaining what open source means. ----.- 1/f ))) --. ---... http://www.algomantra.com
[pygame] pygame project featured on Wired News
http://blog.wired.com/music/2007/11/video-prototype.html We've made this entirely in Pygame :) ----.- 1/f ))) --. ---... http://www.algomantra.com
Re: [pygame] Networking?
hey, please forgive me for any stupid observations.it's just that I've been avoiding testing Twisted because people seem to be of the opinion that it takes over the main loop. And they like having control over that. Can the main reactor be manipulated in such a way that it is not the main loop?
[pygame] parab0xx: a light-controlled musical interface
this was made in Pygame! I hope pygamers like this. i can't share the source code yet but i'm happy to discuss the algorithm. http://algomantra.blogspot.com/2007/11/parab0xx-light-controlled-musical.html cheers! -- ----.- 1/f ))) --. ---... http://www.algomantra.com
Re: [pygame] image.load() -->> array?
On 10/25/07, Ian Mallett <[EMAIL PROTECTED]> wrote: > > On a not unrelated note, I've been trying to make a 3D map viewer that > loads height values from a black/grey/white image. I've been making > it a surface, and using surface.get_at() for each pixel. I think > surfarray should do it better, though I've never used it. > Pygame seems quite flexible that way. Perhaps if you could construct the landscape of the map as a n-dimensional surfarray, you would be able to avoid creating too many surfaces. Since the final image -the 3D viewer - may have only two dimensions. It could be any kind of screen or surface. I don't know that much about what I'm saying, though! -- ----.- 1/f ))) --. ---... http://www.algomantra.com
Re: [pygame] image.load() -->> array?
it helps a lot! # def ston3d(join=2) confirm hypothesis if communication < = people: global conversation code += conversation pygame.ROCKS.get st0ned( ) On 10/25/07, Casey Duncan <[EMAIL PROTECTED]> wrote: > > On Oct 25, 2007, at 9:27 AM, AlgoMantra wrote: > > > > hth, > > > > casey, what do you mean by "hth"? yeah, I found surfarray :) > > "Hope this helps" 8^) > > -Casey > -- ----.- 1/f ))) --. ---... http://www.algomantra.com
Re: [pygame] image.load() -->> array?
> hth, casey, what do you mean by "hth"? yeah, I found surfarray :) ----.- 1/f ))) --. ---... http://www.algomantra.com On 10/25/07, Casey Duncan <[EMAIL PROTECTED]> wrote: > > On Oct 25, 2007, at 4:33 AM, AlgoMantra wrote: > > > Hi All, > > > > So I'm accessing and modifying pixels of a video capture image > > stream using > > image.load() which type() tells me is a "PixelAccess" object. > > > > I have a 160X120 image in RGB. > > > > Is there a simple way to convert this into an array for applying > > functions > > using Numpy? If the (x,y) coordinates for pixel access remain the > > same, > > that is... > > See: > http://www.pygame.org/docs/ref/surfarray.html > http://www.pygame.org/docs/tut/surfarray/SurfarrayIntro.html > > hth, > > -Casey > > > --
[pygame] image.load() -->> array?
Hi All, So I'm accessing and modifying pixels of a video capture image stream using image.load() which type() tells me is a "PixelAccess" object. I have a 160X120 image in RGB. Is there a simple way to convert this into an array for applying functions using Numpy? If the (x,y) coordinates for pixel access remain the same, that is... -- ----.- 1/f ))) --. ---... http://www.algomantra.com
Re: [pygame] Review Pygame book
we'd love a copy and review it toothe mailing address is given here: ----.- 1/f ))) --. ---... http://www.algomantra.com AlgoMantra Labs 20H Bungalow, New Kantwadi Perry Cross Road, Bandra (W) Mumbai - 50 INDIA On 10/16/07, Will McGugan <[EMAIL PROTECTED]> wrote: > > Hi folks, > > I'm looking for a few people to review my Pygame book, on their blog and > perhaps Amazon or other places. The publisher has offered to give away a > few free copies for this. If you are interested, then please let me know. > > Regards, > > Will McGugan > > --
[pygame] Pygame + VideoCapture?
Hi, I've been playing with the VideoCapture module to get a webcam working. It does work but only at 160,120 resolution and this is the error I get: Traceback (most recent call last): File "C:/Documents and Settings/user/Desktop/flutera/webcam.py", line 8, in webcam.setResolution(640,480) File "C:\Python25\lib\VideoCapture.py", line 90, in setResolution self.dev.setresolution(width, height) Error: Cannot set capture resolution. Can anyone help with this? I'm on XP...
Re: [pygame] font initialization error
Thanks Kyle. I had not initialized the font system. It works after I included "pygame.font.init() I have a couple of other issues with the code I'm working on right now. 1. if event.type == pygame.QUIT: sys.exit() I'm using this to close the Pygame window, but it always sort of hangs and then a pop up saying "this program is not responding". "pythonw.exe nonresponsive" etc. Why is it this way? 2. In the running loop of the program, I'm using a function to blit text to background.blit(text, textpos) And the "text" in each case has to be new, that is a new value. But my current code is just rewriting the text on top of the old value, creating a mess. Is there a way to refresh this? I'll be very grateful for any hints on the above. dj fadereu ----.- 1/f ))) --. ---... http://www.algomantra.com
[pygame] font initialization error
Hi All, I keep getting an error from the "myfont = pygame.font.SysFont("Vera", 12)" line saying "Error: Font not Initialized". Could anyone tell me what is wrong here? I'm using Python2.5 on XP. -- ----.- 1/f ))) --. ---... http://www.algomantra.com