Sign in to follow this  
mesvak

MAKE gif in python TTRIAL EZ TO GO

Recommended Posts

for doing this you needa get pyglet installed that s what we needa import tho 

 

so then we make our image welp the images needa be besides the program we have written 

 

Like for this example nigger.gif and niba.gif lets get ahead 

 

[hide]

 

#mesvak is here boobies 
import pyglet
animation=pyglet.image.load_animation('niggers.gif')
animation1=pyglet.image.load_animation('niba.gif')
#this one make it like watever u  can do to that gif like i conssider niggers.gif  an earth so we can rotate and ....
animsprite=pyglet.sprite.sprite(animation) 
w=animsprite.width
h=animsprite.height
window=pyglet.window.window(w=width,h=height)
r,g,b,suck=0.5,0.5,0.8,0.5
pyglet.gl.glclearcolor(r,g,b,suck)
@window.event
def on_draw():
window.clear()
animsprite.draw()
pyglet.app.run()

 

 

 

 

[/hide]

3gPLFrl.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this