OpenGL literally makes you write a program in weird language to draw a circle and communicate to it using byte arrays. Turbo Pascal had nice libraries that took care of that for you on various graphics boards.
The OPs comment was about 3D. Today, browsers have the Canvas API that makes it trivial to draw on pretty much any platform. Way easier than it was in the past.