March 16, 2026
Published on RubyStackNews
After the last article, Jupyter proved to be an awesome sandbox for testing code interactively. I spent the entire weekend asking myself one question: can Ruby render a real 3D plot? I started convinced the answer was no. By Sunday night, ruby-libgd had proven me wrong.
The question nobody asks
When developers think about data science, they think Python. They think NumPy, pandas, matplotlib. Ruby almost never enters the conversation — and honestly, for years that was fair. Ruby had no serious image generation story. No plotting library worth mentioning. The ecosystem simply wasn’t there.
But things changed quietly. ruby-libgd brings native GD library bindings to modern Ruby, and with it a real 2D raster engine: pixel operations, line drawing, polygon fills, alpha blending — everything you need to build a renderer from scratch.
So the question became: how far can you push it?



Top comments (0)