LambdaHack VS nanovg

Compare LambdaHack vs nanovg and see what are their differences.

LambdaHack

Haskell game engine library for roguelike dungeon crawlers; please offer feedback, e.g., after trying out the sample game with the web frontend at (by LambdaHack)

nanovg

Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations. (by memononen)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
LambdaHack nanovg
8 18
612 4,994
0.5% -
6.5 1.7
about 1 month ago about 1 month ago
Haskell C
BSD 3-clause "New" or "Revised" License zlib License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

LambdaHack

Posts with mentions or reviews of LambdaHack. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-17.
  • Release announcement: Sphere
    1 project | /r/roguelikedev | 22 Dec 2021
    Looks really cool! Here's how I do releases: https://github.com/LambdaHack/LambdaHack/issues/76
  • Sharing Saturday #393
    2 projects | /r/roguelikedev | 17 Dec 2021
  • Game design question: how to base item generation on character skill, but not promote artificial optimal play?
    1 project | /r/roguelikedev | 4 Sep 2021
    here's the failed commit: https://github.com/LambdaHack/LambdaHack/commit/930dfd46b949d1525e900b997137389a8092305b
  • [ANN] Monomer, a GUI library for Haskell
    11 projects | /r/haskell | 9 Aug 2021
    I've recently tried that and gave up (https://github.com/LambdaHack/LambdaHack/issues/248). Perhaps it's possible to statically link SDL2, but I learnt it's impossible to statically link the OpenGL and X11 libraries, so you end up with a partially statically linked binary (I didn't manage to obtain even that).
  • Getting Started...
    1 project | /r/roguelikedev | 15 May 2021
    I did some plotline sketches on the github wiki of my project, but never used them so far. Not much use from the other musings there, either. Instead I tweak the templates for procedural generation directly in the code (game content part of the code, to be precise) and get a lot of mileage out of that. The only page of the wiki I got lots of benefit from is the derivation of the simplified formula for calculating speed, distance and damage of projectile from their weight: https://github.com/LambdaHack/LambdaHack/wiki/Item-statistics#projectile-velocity-and-distance
  • Getting to 1.0
    1 project | /r/roguelikedev | 18 Apr 2021
    Around a decade. No, one release per 1-2 years. The differences are quite large, both gameplay and, even more, UI, in particular in using ready fornts, then custom fonts, then many fonts at once. See the changelogs (that's only for the egine, but that's where most of the changes are made): https://github.com/LambdaHack/LambdaHack/releases
  • Sharing Saturday #357
    5 projects | /r/roguelikedev | 9 Apr 2021
  • Allure of the Stars v0.10.2.0 is out
    1 project | /r/haskellgamedev | 9 Apr 2021

nanovg

Posts with mentions or reviews of nanovg. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-21.
  • nanovg VS nitro-gl - a user suggested alternative
    2 projects | 21 Aug 2023
  • Cairo – Open-Source 2D Graphics Layer/API with Fonts and Many Back-Ends
    6 projects | news.ycombinator.com | 17 Jul 2023
  • 2D graphics lib recommendation?
    6 projects | /r/C_Programming | 20 Apr 2023
    I use nanovg for my projects and it works surprisingly well for its size. It integration is pretty simple .... if you know a little bit of OpenGL, otherwise there is a slight learning curve.
  • minimax — minimalist 3D game engine in Clojure
    5 projects | /r/Clojure | 26 Feb 2023
    The "engine" is built on top of amazing https://www.lwjgl.org/ and https://github.com/bkaradzic/bgfx/, and UI system is baked by https://github.com/memononen/nanovg and https://github.com/facebook/yoga
  • Randazzo: PMDG 737 Unstable with SU11 Beta.
    1 project | /r/flightsim | 13 Oct 2022
    It's a library for drawing vector shapes, sort of like SVG - https://github.com/memononen/nanovg The old way in the SDK was with GDI+, but the benefit of a vector format is scalability to higher resolutions and better GPU usage. The workaround potentially costs some frames, but its better than bust panels for now.
  • Simple 2D game
    1 project | /r/opengl | 15 Aug 2022
    If you are a beginner in computer graphics, I strongly suggest you to look at the nanovg library: it contains all the primitives you might want to render (circles, lines, filled polygons, text, images, ...). Integrating it in existing codebase is not that hard, since the library is rather small.
  • W4 Games formed to strengthen Godot ecosystem
    3 projects | news.ycombinator.com | 9 Aug 2022
    NanoVG is the closest thing I came across when I had a similar quesiton: https://github.com/memononen/NanoVG

    unfortunately it doesn't seem like it's getting steady updates now unlike the last time I checked. But I imagine it's pretty mature at this point. There also seem to be ports in Metal/DX11 if you didn't want to be stuck in OpenGL.

  • Why are there so little Skia recources?
    3 projects | /r/GraphicsProgramming | 6 Aug 2022
    Also there's NanoVG if you really want a vector api in C, but don't need anti-aliased clipping.
  • Advice for the next dozen Rust GUIs
    14 projects | news.ycombinator.com | 15 Jul 2022
    Getting sufficient antialiasing quality for 2D graphics is difficult on GPUs. https://github.com/memononen/nanovg accomplishes this with GL2/GLES2 level hardware for most of the stuff one would want to render as part of a GUI. My project https://github.com/styluslabs/nanovgXC supports rendering arbitrary paths with exact coverage antialiasing, but requires GLES3.1 or GL4 level hardware for reasonable performance.
  • Ask HN: Modern Alternatives to C
    5 projects | news.ycombinator.com | 30 Apr 2022
    > to learn the 'nuts and bolts' of rendering

    These nuts and bolts are very different between CPU and GPU. CPU-based libraries are painting pixels in bitmaps in system memory. Most GPU-based libraries are uploading indexed triangle meshes, and rendering them with weird shaders.

    Worse, there're no good open source implementations of GPU-based ones. Microsoft ships an implementation as a part of OS (Direct2D) but it's not open source. Linux simply doesn't have an equivalent.

    At least for initial versions, consider C interop with this https://github.com/memononen/nanovg It cuts a few corners (no cleartype for text, CPU overhead for repeated rendering of same static paths) but it's still good overall, simple, and easy to use.

    > My only concern with C# is the cross compatibility

    Works well on Linux, Windows and OSX, including ARM CPUs. Not sure about Android and iOS, never tested.

    My largest concern with C# would be performance. Technically the language allows to code in any style, but most guides and examples are using OO-heavy one.

What are some alternatives?

When comparing LambdaHack and nanovg you can also consider the following projects:

rattletrap - :car: Parse and generate Rocket League replays.

Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

tateti-tateti - Meta tic-tac-toe ncurses game.

imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

Nomyx - The Nomyx game

DiligentEngine - A modern cross-platform low-level graphics library and rendering framework

FunGEn - A lightweight, cross-platform, OpenGL-based 2D game engine in Haskell

sokol - minimal cross-platform standalone C headers

Allure - Allure of the Stars is a near-future Sci-Fi roguelike and tactical squad combat game written in Haskell; please offer feedback, e.g., after trying out the web frontend version at

MetalNanoVG - The Metal port of NanoVG.

postgresql-simple-url - Heroku helpers for pulmurice server

bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.