pyglet
moderngl
pyglet | moderngl | |
---|---|---|
20 | 12 | |
1,753 | 1,791 | |
1.5% | 1.8% | |
9.5 | 9.1 | |
5 days ago | 21 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | MIT License |
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.
pyglet
- Pyglet Release v2.0.9
-
Python Arcade/Pyglet controller support
After some testing, I saw that Pyglet could detect and get values from my controller with this script from the Pyglet Github: https://github.com/pyglet/pyglet/blob/master/examples/input/controller.py
- Pyglet Release v2.0.5
- Ask HN: Those making $0/month or less on side projects – Show and tell
-
Python Alternative to Pygame similar to LÖVE ?
https://pyglet.org/ maybe?
-
I am looking for beginner/intermediate programmers to collaborate on Pygame projects
Learn to be proficient in pyglet or pyglet.
-
I need a good python game engine.
Years ago I had some success with pyglet. It seems to still be actively developed! I haven't seen anything about swf files though.
-
Minecraft-like engine...having a hard time getting geometry on screen fast enough
Bottom of the page: https://pyglet.org/
-
Problem with getting any 32-bit RGBA Value Raspberry Pi.
I see to be finding a lot of (old) links saying they have issues with H264 videos from ffmpeg. similar to this: https://github.com/pyglet/pyglet/issues/279 Although most of them seem to stem back to RPi3 or even RPi2.
-
Python for everyone : Mastering Python The Right Way
Pyglet
moderngl
- Interactive Web App for Learning Shaders - Editor with Real-Time Preview
-
Quick question, how do I set an uniform of a fragment shader in ModernGL?
You can see how to do it here: https://github.com/moderngl/moderngl/blob/master/examples/fragment_output.py
- [Computer Graphics] moderngl/moderngl: Modern OpenGL binding for python
-
No, it’s not useless
making an executable is an absolute pain but PySide6, DearPyGui, moderngl and much more exists
-
Pycharm does not see module in virtual environment at runtime, although running it from the cmd has no issues
Whenever I try to run examples/loading_obj_files.py from moderngl/moderngl: Modern OpenGL binding for python (github.com) , I get this error:
-
Is there such a good OpenGL package in Python like rgl for R?
Not sure what rgl supports, but there's https://github.com/moderngl/moderngl - provides Pythonic wrapper around OpenGL functions.
-
GitHub - szabolcsdombi/zengl: ⚡ high-performance rendering for python
I'm guessing minimal overhead. The README says that it is a "simplification of a subset of ModernGL with some extras that were not possible to include in ModernGL." The documentation for ModernGL (lazy-link) talks about speed only in comparison with PyOpenGL, and says that it's faster since C++ calls are "bundled together," which I assume means that ModernGL (compared to PyOpenGL) does a little more than just wrapping - for good and bad.
-
To those who have written high speed graphics libraries in python, do those libs call low level executable functions written in C?
I would not use Pyglet, I would use ModernOpenGL. https://github.com/moderngl/moderngl It's still OpenGL but with a more pythonic interface and way less useless boilerplate. Plus you get access to modern features by default (in fact, are required, and btw modern = more than a decade old), and I believe pyglet still relies on old immediate mode opengl.
-
PSA: Reinstall python-moderngl-git (and manim) if you got it from the AUR
As you can see, the new version is dramatically lower than the previous one, but it is consistent with the package's tags. The downside is that this won't trigger your AUR helper to update the package, so you'll have to do it manually. You may also want to just reinstall manim as a whole to account for the new dependency version.
-
Need help with compute shader
I am currently trying to use a compute shader to compute 2D projection of 3D points (to create a little 3D renderer in python). I am using the moderngl library, and this is my code. So my compute shader is using 2 buffers: 1 for input and 1 for output. The input is composed of 3 vec3 (to represent the 3 3D points for a triangle), and the output will be 3 2D points. The code I showed you here is for testing, which just takes the input values and put them in the output buffer. Here is my problem:
What are some alternatives?
Arcade - Easy to use Python library for creating 2D arcade games.
Open3D - Open3D: A Modern Library for 3D Data Processing
Panda3D - Powerful, mature open-source cross-platform game engine for Python and C++, developed by Disney and CMU
raylib-py - A Python binding for the great C library raylib.
zengl - Self-Contained OpenGL Rendering Pipelines for Python :snake:
RenPy - The Ren'Py Visual Novel Engine
Guide-to-Modern-OpenGL-Functions - A guide to using modern OpenGL functions.
p5.js - p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
ModernGL-Shader-with-pygame - you can use this class to give pygame a shader to render screen. it is easy to use.
esper - An ECS (Entity Component System) for Python
pygame_shaders - a library to easily integrate shaders into your new or existing pygame projects