Can I make graphics without any libraries?

This page summarizes the projects mentioned and recommended in the original post on /r/cpp_questions

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • minifb

    MiniFB is a small cross platform library to create a frame buffer that you can draw pixels in

  • If you just want to push pixel data to a frame buffer then I can highly recommend minifb. MIT licensed, Supports a lot of platforms, and it’s about as simple as you can get. It also handles input if you need it, too.

  • SDL

    Simple Directmedia Layer

  • SDL2 is a really good simple open-source graphics library. The core library provides things like window creation, 2D graphics rendering, keyboard, mouse, and controller support, basic audio support, basic logging, and much more. There are also a few sub-libraries that extend its functionality, like SDL_image which lets you load image files from many different file types, SDL_mixer for enhanced audio support, SDL_ttf for True Type Font support, and SDL_net for networking. You can also use OpenGL or Vulkan with it. It’s cross platform, so you can port your program to Windows, macOS, Linux, iOS, and Android fairly easily. You can find the documentation for it here: http://wiki.libsdl.org/APIByCategory

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • libtcod

    A collection of tools and algorithms for developing traditional roguelikes. Such as field-of-view, pathfinding, and a tile-based terminal emulator.

  • libtcod is a good library for that. The libraries main purpose is for making Roguelike games on a 2D grib, but it uses SDL or OpenGL on the backend for its graphics.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts