pygame_examples
PyNBoids
pygame_examples | PyNBoids | |
---|---|---|
6 | 2 | |
23 | 40 | |
- | - | |
5.6 | 0.0 | |
5 months ago | over 1 year ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pygame_examples
-
Cloth simulation with custom physics (source in comments)
Feel free to try out the project - as always the code is fully available here.
-
Asynchronous event handling example
As always, the full source code for the mentioned event handling technique can be found here.
-
Evolution simulation (explanation and source in comments)
As always, the code is open source and available here
-
Played around with some light particles (source in comments)
A little while ago, I already wrote a little light source experiment (code here), and while that worked fairly well, I wanted something a little more sophisticated (both in looks and functions), so I decided to try out a simulated particle based approach. It turned out to look like a fairly standard particle effect, with some glow around the particle (plus collisions with the screen boundary), which is not completely what I wanted, but I am happy with it anyway (plus it ended up being fun to mess around with it, as I do here in the video).
-
Made an in-game command console
The source code is available here. The console uses a standard argument parser from the python standard library module argparse. When a command is entered, the argument parser parses the results and pumps an event out to the event queue. Any functions with subscribed to this event then get called.
-
Pygame music visualisation
This is just a short draft based on some particle system code. I might flesh it out a bit more by adding more live-performance elements, or may automate the performance bit by integrating it with some music-analysis code.
PyNBoids
-
Flocking Algorithm (Boid Simulation) with pygame
I've recently been working on my own boid sim, so it's real interesting to see someone else's way of doing it, especially one also in python. ;)
- Sunday Daily Thread: What's everyone working on this week?
What are some alternatives?
pygbag - python and pygame wasm for everyone ( packager + test server + simulator )
EDOPro-HD-Pics-Downloader - Downloads high quality EDOPro cards pics using a ydk file
gamma - A simple ECS game engine for Python, built on Pygame, with an emphasis on ease of use.
raylib-py - A Python binding for the great C library raylib.
example-fine-grained-authorization - Leverage actions, custom metadata, and claims for attribute-based access control
opstrat - Option visualization python package
Hilbert-Curve-space-filling-with-pygame - Hilbert Curve Fractal with pygame (python)
Grass-Simulation - Python Dynamic Grass Simulation
RocketPy - Next generation High-Power Rocketry 6-DOF Trajectory Simulation
nvjob-boids - #NVJOB Simple Boids (Flocks of Birds, Fish and Insects). Flocking Simulation. Free Unity Asset.
dvd-screensaver - The DVD Screensaver for Windows.
three.py - Python 3D library based on three.js and Modern OpenGL