Colliding Bouncing Balls Simulation in C
Ever wonder what happens when you simulate 100 colorful balls, give them all questionable physics degrees, and trap them in a box together?
Welcome to “The Great Ball Brawl”, a chaotic, CPU-melting, mathematically-questionable X11 simulation made in pure C.
Each ball has a purpose: to bounce. Off the walls, off each other, off your GPU's will to live.
Features:
100 uniquely-colored balls (thanks, HSV and for loops)
Simple physics collisions (aka "vibes-based motion")
Real-time rendering via Xlib (yes, the real nerd stuff)
Optional recording to video using raw RGB frames piped to ffmpeg (because why not make it harder?)
Frame timer, audio ticks, and enough uint8_t to power a toaster
Made with:
C (the language of the strong)
X11 (because modern GUI toolkits are for cowards)
ffmpeg (to capture the chaos in glorious RGB24)
A ton of printf()'s and vibes
#simulation #programming #X11 #CProgramming #physics
Видео Colliding Bouncing Balls Simulation in C канала Spark House
Welcome to “The Great Ball Brawl”, a chaotic, CPU-melting, mathematically-questionable X11 simulation made in pure C.
Each ball has a purpose: to bounce. Off the walls, off each other, off your GPU's will to live.
Features:
100 uniquely-colored balls (thanks, HSV and for loops)
Simple physics collisions (aka "vibes-based motion")
Real-time rendering via Xlib (yes, the real nerd stuff)
Optional recording to video using raw RGB frames piped to ffmpeg (because why not make it harder?)
Frame timer, audio ticks, and enough uint8_t to power a toaster
Made with:
C (the language of the strong)
X11 (because modern GUI toolkits are for cowards)
ffmpeg (to capture the chaos in glorious RGB24)
A ton of printf()'s and vibes
#simulation #programming #X11 #CProgramming #physics
Видео Colliding Bouncing Balls Simulation in C канала Spark House
programming coding simulation Cprogramming bouncing balls colored balls ambient focus music background easy listening visualizer retro programming low level graphics 2D animation satisfying chill background calming visuals coding music tech aesthetic physics demo developer life DIY simulation open source math meets art linux programming engineering fun slow motion code synthetic motion code-based animation C language
Комментарии отсутствуют
Информация о видео
24 марта 2025 г. 6:27:22
00:30:01
Другие видео канала