{"categories":[{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics/2"},{"label":"Visualization","url":"https://skillfed.io/packages/category/scientific-engineering-visualization"},{"label":"Games/Entertainment","url":"https://skillfed.io/packages/category/games-entertainment"},{"label":"3D Rendering","url":"https://skillfed.io/packages/category/multimedia-graphics-3d-rendering"}],"enrichment":{"capability":"moderngl-window simplifies OpenGL window creation and resource loading across Windows, Linux, and macOS by wrapping ModernGL with support for multiple windowing backends and built-in loaders for textures, shaders, and 3D models.","skillfed_tags":["opengl","3d-graphics","cross-platform"],"use_cases":["Build a cross-platform 3D visualization tool that works identically on Windows, Linux, and macOS without rewriting window code.","Prototype interactive graphics applications using ModernGL without manually handling platform-specific windowing details.","Load and render 3D models and textures from common formats (OBJ, GLTF, STL, PNG, JPEG) with minimal boilerplate.","Create educational graphics demos or scientific visualizations that need consistent event handling across multiple windowing systems.","Develop games or interactive applications using a pluggable architecture that lets you swap windowing backends at runtime."],"what_it_does":"moderngl-window is a cross-platform utility library that abstracts away the complexity of setting up OpenGL windows and loading graphics resources. It sits on top of ModernGL and provides a unified interface for creating windows using your choice of backend (pyglet, pygame, GLFW, SDL2, PySide2, PyQt5, or tkinter), handling keyboard and mouse events consistently across platforms. The library also bundles loaders for 2D textures, texture arrays, cube maps, GLSL shaders, and 3D models in OBJ, GLTF 2.0, and STL formats.\n\nThe design emphasizes flexibility: you can use the simple WindowConfig class to get started immediately, or drop down to lower-level APIs for fine-grained control. It depends on moderngl for the core rendering, pyglet for windowing, numpy and pyglm for math operations, and Pillow for image loading. The package is actively maintained, supports Python 3.9 and later, and has been tested on Windows, Linux, and macOS.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, installs with low friction, and solves a genuine cross-platform pain point for OpenGL development. It is well-suited for anyone building 3D graphics applications with ModernGL who wants to avoid reimplementing window management and resource loading for each platform."},"id":"moderngl-window","links":{"html":"https://skillfed.io/packages/moderngl-window","md":"https://skillfed.io/packages/moderngl-window.md","pypi":"https://pypi.org/project/moderngl-window/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-01-19","license_spdx":null,"license_treatment":"permissive","name":"moderngl-window","python_support":"supports_current","summary":"A cross platform helper library for ModernGL making window creation and resource loading simple"},"popularity":{"monthly_downloads":216278,"position":9383,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.1.1"}
