https://github.com/hkmori15/bad-apple
Bad-apple in ASCII format which output in terminal 🍎
https://github.com/hkmori15/bad-apple
ascii-art bad-apple cmake cpp touhou
Last synced: 10 days ago
JSON representation
Bad-apple in ASCII format which output in terminal 🍎
- Host: GitHub
- URL: https://github.com/hkmori15/bad-apple
- Owner: Hkmori15
- License: mit
- Created: 2025-03-07T02:07:54.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-07T02:21:05.000Z (over 1 year ago)
- Last Synced: 2025-03-07T03:24:10.080Z (over 1 year ago)
- Topics: ascii-art, bad-apple, cmake, cpp, touhou
- Language: C++
- Homepage:
- Size: 56.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Bad-apple
Bad-apple in ASCII format which output in terminal 🍎
## Requirements 📜:
**For building and running you need:**
- Compiler with support for C++23
- CMake with version 3.15 or higher
- If dependencies don't install automatically (cmake), you need install it manually:
- [SDL2](https://github.com/libsdl-org/SDL/releases/tag/release-2.28.5) Only version 2.28.5, why? See file **CMakeLists.txt in 16 line** ❗
- Ffmpeg for extracting frames from **bad_apple.mp4**
## Installing/Building ⭐:
1. Clone the repo:
```bash
git clone https://github.com/Hkmori15/bad-apple.git
cd/z bad_apple
```
2. Create directory frames in root project:
```bash
mkdir frames
```
3. Extract frames from video **bad_apple.mp4:**
```bash
ffmpeg -i bad_apple.mp4 -vf scale=80:-1 frames/frame%04d.png
```
4. Build project with CMake:
```bash
mkdir build
cd/z build
cmake ..
cmake --build .
```
## Usage 💿:
1. Move to **build** directory:
```bash
cd/z build
```
2. Run:
```bash
./bad_apple
```
3. Enjoy! Animation will be represent how ASCII-art and sound with SDL2 :D