-
Notifications
You must be signed in to change notification settings - Fork 0
An array of lights that move across the window and interact with each other. Uses PutPixel from Jon Macey to display pixels (link provided).
byoung5123/bouncingLights
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# bouncingLights Simple program written in C++ using the SDL2 library to create an animated simulation of bouncing lights with color attenuation. ## Introduction This program simulates lights bouncing around a window, creating an animated display of color attenuation. The lights move within the window boundaries, and their colors change based on their position and the attenuation equation. ## Features - Simulates bouncing lights with color attenuation. - Utilizes the SDL2 library for graphics rendering. - Customizable number of lights, their initial positions, velocities, and colors. - Adjustable parameters for light attenuation and visibility. ## Getting Started ### Prerequisites - C++ compiler - SDL2 library ### Installation 1. Clone the repository: git clone https://github.com/byoung5123/bouncingLights.git 2. Navigate to the project directory: cd bouncingLights 3. Build with CMake: cmake . 4. Compile the program: make 5. Run the executable: ./bouncingLights
About
An array of lights that move across the window and interact with each other. Uses PutPixel from Jon Macey to display pixels (link provided).
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published