https://github.com/breadonlaptop/c_cpp_animations
C_CPP_Animations is a collection of command-line animations built using C and C++. It includes various visual effects such as loading animations, rotating symbols, and a spinning 3D cube. The project is designed for learning, experimentation, and potential future upgrades to more advanced graphical interfaces.
https://github.com/breadonlaptop/c_cpp_animations
animations c cpp14 implementation programming
Last synced: 4 months ago
JSON representation
C_CPP_Animations is a collection of command-line animations built using C and C++. It includes various visual effects such as loading animations, rotating symbols, and a spinning 3D cube. The project is designed for learning, experimentation, and potential future upgrades to more advanced graphical interfaces.
- Host: GitHub
- URL: https://github.com/breadonlaptop/c_cpp_animations
- Owner: breadOnLaptop
- License: mit
- Created: 2025-02-14T18:18:31.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-02-14T18:27:24.000Z (11 months ago)
- Last Synced: 2025-08-30T16:31:41.861Z (4 months ago)
- Topics: animations, c, cpp14, implementation, programming
- Language: C
- Homepage:
- Size: 8.45 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# C\_CPP\_Animations
## Overview
C\_CPP\_Animations is a collection of command-line animations and interactive projects written in C/C++. The repository includes animations such as:
- **Loading with Percentage:** A progress bar that updates with percentage values.
- **Rotating Loading Symbol:** An animation using a rotating symbol for a 360° effect.
- **Spinning 3D Cube:** A text-based 3D cube with special characters on each side.
## Folder Structure
Below is a simple view of how the project is organized:
```
C_CPP_Animations/
├── README.md # Project overview and instructions
├── LICENSE # MIT License
├── docs/ # Extra documentation (design notes, etc.)
│ └── design.md
├── src/ # All source code
│ ├── core/ # Shared code (common functions)
│ │ ├── animation.h
│ │ └── animation.c
│ ├── loading_percentage/ # Loading with Percentage project
│ │ ├── loading.c
│ │ └── Makefile
│ ├── rotating_symbol/ # Rotating Loading Symbol project
│ │ ├── rotating.c
│ │ └── Makefile
│ ├── spinning_cube/ # Spinning 3D Cube project
│ │ ├── cube.c
│ │ └── Makefile
│ ├── interactive_dashboard/ # Interactive Dashboard project
│ │ ├── dashboard.c
│ │ └── Makefile
│ ├── animated_clock/ # Animated Clock project
│ │ ├── clock.c
│ │ └── Makefile
│ ├── ascii_particle_system/ # ASCII Particle System project
│ │ ├── particles.c
│ │ └── Makefile
```
## Getting Started
### Prerequisites
- A C/C++ compiler (e.g., GCC or Clang)
- A terminal that supports ANSI escape codes
- (Optional for GUI upgrades) Libraries such as SDL2, SFML, or ncurses
### Installation
1. **Clone the Repository:**
```bash
git clone https://github.com/Peeyush-04/C_CPP_Animations.git
cd C_CPP_Animations
```
2. **Compile a Project:**
For example, to compile the "Loading with Percentage" animation:
```bash
cd src/loading_percentage
make
```
3. **Run the Animation:**
```bash
./bin/loading # Adjust the executable name if needed
```
## provi
Contributions are welcome! To contribute:
1. Fork the repository.
2. Create a new branch:
```bash
git checkout -b feature/YourFeature
```
3. Commit your changes with clear messages.
4. Push the branch:
```bash
git push origin feature/YourFeature
```
5. Open a pull request with a description of your changes.
## License
This project is licensed under the MIT License – see the [LICENSE](LICENSE) file for details.