moderngl
pyglet
Our great sponsors
moderngl | pyglet | |
---|---|---|
12 | 20 | |
1,773 | 1,743 | |
1.9% | 1.6% | |
9.2 | 9.5 | |
25 days ago | about 19 hours ago | |
Python | Python | |
MIT License | BSD 3-clause "New" or "Revised" 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.
moderngl
-
No, it’s not useless
making an executable is an absolute pain but PySide6, DearPyGui, moderngl and much more exists
-
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.
-
Computer Graphic with Python [Setup]
ModernGL
pyglet
- 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 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/
-
Python for everyone : Mastering Python The Right Way
Pyglet
-
An app with hand-picked, searchable and sortable awesome Python libraries (with full code and data)
For game engines, you list Pygame, which is great. Other great game libraries are Pyglet and Arcade (full website).
-
Pglet – Web UI framework for back end developers
already exists: https://ollycope.com/software/piglet-templates/latest/
also this one is very popular too: http://pyglet.org/
I would personally avoid the current name as it sounds phonetically the same as the above.
-
Ask HN: What do you use for programmatic drawing?
For Python you could use the pyglet OpenGL library to do both 2D and 3D https://github.com/pyglet/pyglet
For Scratch, the pen tool extension works really well. I was just doing a demo on this for an elementary class the other day.
-
What's the best game-engine for making RPG games with Python?
First, you can use Python plus a library like Pyglet or Cocos2D or Arcade or Pygame. The only one of these that I have any experience with is Pygame, but it looks like none of these are "engines" in the modern sense. Working with them means doing everything from your favorite Python IDE.
-
In a nutshell: Aren't game engines just pre-programmed instructions written for the user?
In the same way, if your goal is to make a game, why go to the trouble of writing all the code to do basic things like loading images and drawing sprites and playing sounds when you could just type "import pyglet"?
What are some alternatives?
Open3D - Open3D: A Modern Library for 3D Data Processing
Arcade - Easy to use Python library for creating 2D arcade games.
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.
RenPy - The Ren'Py Visual Novel Engine
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 —
esper - An ECS (Entity Component System) for Python
zengl - Self-Contained OpenGL Rendering Pipelines for Python :snake:
PySimpleGUI - Python GUIs for Humans! PySimpleGUI is the top-rated Python application development environment. Launched in 2018 and actively developed, maintained, and supported in 2024. Transforms tkinter, Qt, WxPython, and Remi into a simple, intuitive, and fun experience for both hobbyists and expert users.
Guide-to-Modern-OpenGL-Functions - A guide to using modern OpenGL functions.
Godot - Godot Engine – Multi-platform 2D and 3D game engine