OnlyCSharp 1.7 - render suite
Classical physics and chaos, path traced in pure C#
Twelve small animations - a Lorenz attractor, a double pendulum, a hanging cloth, a fireworks burst, a proof that three colored lights cast three colored shadows. Every pixel comes off one recursive path tracer; every motion is integrated from a real force law or ODE. No game engine, no NuGet, no PNG or texture files - just the BCL and the OnlyCSharp libraries.
- 12
- animations, one renderer
- 0
- NuGet packages referenced
- 3
- RGB lights, 3 real shadows
- 240×180
- native frame, 4:3
Gallery
Each tile is a real simulation, not a loop of keyframes
How
One renderer, one rule
Nothing here is drawn with a 2D canvas API. Each frame is rendered by OnlyCSharp.ComputerGraphics.RayTracer.PathTracer - rays are traced, bounced, and accumulated, then denoised, then encoded straight to an animated GIF by the library's own GIF codec. The quad tiles composite four cameras of the same scene: top-down, two sides, and a third-person chase.
The motion is just as literal. Springs pull on the cloth with Hooke's law; the planets feel an inverse-square pull; the double pendulum and the Lorenz system are marched forward with a Runge-Kutta integrator; the boids only ever look at their neighbours. The one rule the whole library keeps is that it depends on nothing outside the .NET base class library - no NuGet, no engine, no image assets - so every result is transliterable and reproducible.