Follow

Is there a processing/p5-esque graphics library for C? I'd like to dabble with C, but SDL looks kinda low-level/intimidating.

· · Web · 5 · 1 · 1

@inscript If you just want to generate still images then Sean Barrett's stb_image_write.h is nice. (It's as simple as just writing pixel data to a buffer.) Of course if you want to do any kind of animation etc then you'll probably want something else.

github.com/nothings/stb/blob/m

@inscript SDL is actually very similar to processing -- the drawing APIs are designed generally like LOGO and similar (like processing) -- give it a try!

@inscript I'd recommend nanovg for vector graphics. Really easy to drop into a project and learn: github.com/memononen/nanovg

Sign in to participate in the conversation
Merveilles

Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.