Mohamed Amine Hajji / Projects

VortexSphere

A C/raylib program that procedurally animates a swirling "Rasengan"-style particle sphere and streams it frame-by-frame straight into ffmpeg to produce a finished 1080p60 MP4.

GitHub

VortexSphere procedurally recreates the "Rasengan" energy-ball effect from Naruto — a glowing core sphere with 300 independently-moving orbiter particles leaving gradient trails — then streams every rendered frame straight into ffmpeg over a Unix pipe to produce a finished 1080p60 MP4, with no intermediate files ever touching disk. The camera and simulation are stepped by a fixed time delta regardless of render speed, so the exported video always plays back correctly, and the scene renders at 2x resolution for custom supersampled anti-aliasing.

Highlights

Stack: C, Raylib, FFmpeg, Linux