How can I add graphics to my nim program?

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

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

    NimGL is a Nim library that offers bindings for popular libraries used in computer graphics

  • Use nimgl. It supports Vulkan, OpenGL, ImGUI. I wouldn't use Vulkan cos it's very low level.

  • pixels

    Toy support library for primitive graphics programming. (by Araq)

  • For 2D graphics, there is a simplified API made by Araq to draw pixels and text: Pixels

  • 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
  • pixie

    Full-featured 2d graphics library for Nim. (by treeform)

  • windy

    Windowing library for Nim using OS native APIs.

  • boxy

    2D GPU rendering with a tiling atlas. (by treeform)

  • shady

    Nim to GPU shader language compiler and supporting utilities. (by treeform)

  • nim-csfml

    Nim bindings to SFML multimedia/game library

  • Another option might be SFML, via nim-csfml. I have no idea how it stacks up against other stuff, but I do think it should allow a GUI.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • nuklearnim

    Mirror of a thin Nim programming language for Nuklear GUI library

  • There is one, but well hidden from sight :) https://github.com/thindil/nuklearnim

  • vulkan

    Vulkan C bindings for Nim (by DanielBelmes)

  • I heard the nimgl version of vulkan doesnt run well on mac and its missing a huge amount of extensions functionality These are the latest bindings I know of: https://github.com/DanielBelmes/vulkan

  • nimforum

    Lightweight alternative to Discourse written in Nim

  • If the video example does not work, you can use the examples projects in the nim SDL repository. When ex101_init.nim works, there is no reason the video example does not work. If you have further issues, do not hesitate to share a minimal working example with your detailed configuration (Nim compiler version, command line you used, file directory, libraries installed) on the forum.nim-lang.org

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