This is my first project using pyglet, OpenGl, and Python 3 (However, I am a long time python 2 user.). I was looking for some fun math-y challenge over the weekend, and settled on kicking the tires on pyglet. I wrote a simple particle emitter system that incorporates speed/friction; direction and spread; gravity; and even a zig-zag motion pattern. There are different Emitter classes, that will emit particles from a point, line or rectangle. The emitter could even follow a predefined path which can optionally have a smoothing algorithm applied. It's still pure python so don't expect it to be two fast.
https://github.com/kilik929/pyglet_particles2d The opengl code I found in a game called Delta-V (linked somewhere in this group), I'm still trying to learn how it works. I don't have any project (yet) to use this on, but it may help somebody else. Who knows, maybe someone will take a second pass, fix it up, and it could be accepted into the main branch XD. Feel free to ask questions, and any feedback would be appreciated -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To view this discussion on the web visit https://groups.google.com/d/msg/pyglet-users/-/hxmngwNxBQYJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
