Pygame OpenGL Projects This repository contains two projects utilizing Pygame and OpenGL for graphical rendering and animation. These projects demonstrate basic OpenGL concepts, transformations, and interactivity using Python. Table of Contents Project 1: House in Rainfall Project 2: Animated Box Installation Usage Dependencies License
Project 1: House in Rainfall This project simulates a house in a rainy environment using Pygame and OpenGL. The rain effect is achieved through animated falling lines, and the house is rendered using basic OpenGL shapes. Features: Animated rainfall effect Static house rendering Uses OpenGL transformations
Project 2: Amazing Animated Box This project features an animated, interactive 2D box using OpenGL and Pygame. The box rotates and moves based on user input. Features: 2D rotation and movement Keyboard-controlled interaction OpenGL transformations for smooth animation
Install dependencies: pip install -r requirements.txt
Usage Run the scripts individually: House in Rainfall.py Animated Box.py
Dependencies Python 3.8+ Pygame PyOpenGL Install dependencies with: pip install pygame PyOpenGL
License This project is open-source under the MIT License.