3 ms·
The worst part about computer graphics is finding an easy way to get the damn image rendered. I applaud the ingenuity of the author to simply output the image t
by jimbob45 6y ago
The worst part about computer graphics is finding an easy way to get the damn image rendered. I applaud the ingenuity of the author to simply output the image to a file and open it like that.
Even basic GDI and OpenGL is monumentally frustrating for beginners who just want to draw a simple rectangle to the screen.
- corysama 6y agoIt's pretty easy to do this efficiently with https://www.libsdl.org/ https://www.libsdl.org/ https://gist.github.com/CoryBloyd/6725bb78323bb1157ff8d4175d42d789 https://gist.github.com/CoryBloyd/6725bb78323bb1157ff8d4175d...
- pjmlp 6y agoIf you aren't on UNIX, first you will need to find a graphics editor able to open PPM files, also an hurdle for beginners.
- dahart 6y agoI’m a big fan of code environments that are set up to make graphics easy, and some do exist. Maybe the most popular one is Processing https://processing.org/ https://processing.org/ Processing defaults to Java, but it also supports python code and 3d GPU graphics. There are lots of other projects like this too. One in particular that I have loved is NodeBox (nodebox.net/code/index.php/Home.html) - a Mac app where you write super simple code in python 2, and the output can render directly to image or PDF or QuickTime. There’s a similar python 3 project called DrawBot (drawbot.com). These both come from a lineage of forked open source projects over many years, so there are quite a few others.