I have a script written up that takes an image and displays it. I originally intended to have the image then have parts fall away, but I am having trouble getting parts of the image to move separate. Is there a simple way to do this or am I going to have to apply some cleverness? thanks in advance.
Thropian
3
Junior Poster in Training
Recommended Answers
Jump to PostFirst of all I would personally use pygame for that and livewires(just because) and I would think you'd need to have those parts of the image as separate images, place them on the frame so that they appear to be one image, then you could manipulate them as sprites individually.
Jump to PostI second Pygame, but I would use PIL for the image processing. You can cut up the image, splice, convert to greyscale and much more.
Jump to PostIn my code you can see "import Image", you don't necessarily need "from PIL import Image".
And you are correct about the the red taking over if I wear the cam on myself. I plan on adapting that code for a stationary gun turret in my yard. With the …
All 10 Replies
JoshuaBurleson
23
Posting Whiz
Tech B
48
Posting Whiz in Training
JoshuaBurleson
23
Posting Whiz
Tech B
48
Posting Whiz in Training
Thropian
3
Junior Poster in Training
Tech B
48
Posting Whiz in Training
Thropian
commented:
Pointed me in the right direction.
+3
Thropian
3
Junior Poster in Training
Tech B
48
Posting Whiz in Training
Thropian
3
Junior Poster in Training
Thropian
3
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.