nanovg VS ish

Compare nanovg vs ish and see what are their differences.

nanovg

Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations. (by memononen)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
nanovg ish
18 152
5,006 15,952
- 2.2%
1.7 9.6
about 1 month ago 3 days ago
C C
zlib License GNU General Public License v3.0 or later
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.

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.

ish

Posts with mentions or reviews of ish. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-22.
  • Homelab Adventures: Crafting a Personal Tech Playground
    7 projects | dev.to | 22 Apr 2024
    iSH
  • Ente: Open-Source, E2E Encrypted, Google Photos Alternative
    23 projects | news.ycombinator.com | 1 Mar 2024
    They don't "allow" it, but most apps that need background execution just ask permission for geolocation tracking and pretend to use it, for example iSH[1]. There are a few activities that the app can do to prevent itself from being suspended when it goes out of focus, like playing sound, geolocation etc.

    [1] https://github.com/ish-app/ish/issues/249#issuecomment-54433...

  • How to copy a file between devices?
    32 projects | news.ycombinator.com | 14 Feb 2024
    Android: install termux, `pkg install openssh`, and preferably run `termux-setup-storage` to give it access to storage folders.

    iOS: I think https://ish.app/ ?

  • How Virtualisation came to Apple Silicon Macs
    6 projects | news.ycombinator.com | 11 Jan 2024
    This of course hasn't been true for years, eg: http://omz-software.com/pythonista/index.html

    And you can run a C compiler (or anything) inside https://ish.app/ too.

  • ScummVM officially released in the App Store
    4 projects | news.ycombinator.com | 30 Dec 2023
    False. iSH is an x86 "bytecode" emulator.

    "Possibly the most interesting thing I wrote as part of iSH is the JIT. It's not actually a JIT since it doesn't target machine code. Instead it generates an array of pointers to functions called gadgets, and each gadget ends with a tailcall to the next function; like the threaded code technique used by some Forth interpreters."

    https://github.com/ish-app/ish

  • Windows is now an app for iPhones, iPads, Macs, and PCs
    2 projects | news.ycombinator.com | 20 Nov 2023
    There is an x86 virtual machkne running Linux available on the App Store now.

    https://ish.app/

    Now would Apple allow a full blown Windows VM is a different question

  • Stop EU Chat Control
    1 project | news.ycombinator.com | 14 Oct 2023
    There are plenty of solutions for running Python in an IDE on the iPad. There is an even an x86 emulator and a Linux terminal built on top of it in the App Store.

    https://ish.app/

    It can run anything that you can run on an x86 in user mode. I downloaded the AWS CLI (which requires Python) to run some tests

    By the way, you were completely wrong about VSCode being written in .Net.

    > That's just compiling the code to a native binary, which you would then have to go submit through Apple's store. How does that help for an IDE expected to allow you to test (i.e. execute) and debug the code you've just written ten seconds ago?

    There is an existence proof that it could be done. If you ran iSH with remote VNC you could have a full IDE on a Mac.

    > We can see right there some examples of what isn't allowed:

  • ISH: Linux shell running on iOS/iPadOS, using usermode x86 emulation
    1 project | news.ycombinator.com | 25 Jul 2023
  • Lima: A nice way to run Linux VMs on Mac
    18 projects | news.ycombinator.com | 10 Jul 2023
  • Buying an iPad Pro for coding was a mistake
    7 projects | news.ycombinator.com | 29 Jun 2023
    Not making any statement regarding the mentioned workflow issues (I mostly agree with them), I really like iSH [1] for this sort thing.

    It’s a “good enough” solution for the “I just quickly need to do something in a terminal” problems.

    And because it’s an x86 Alpine Linux it can even run simple binaries if needed.

    But for me it still couldn’t replace a dedicated laptop for proper tasks.

    [1]: https://github.com/ish-app/ish

What are some alternatives?

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

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

UTM - Virtual machines for iOS and macOS

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

termux-packages - A package build system for Termux.

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

box64 - Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices

sokol - minimal cross-platform standalone C headers

AltStore - AltStore is an alternative app store for non-jailbroken iOS devices.

MetalNanoVG - The Metal port of NanoVG.

Code-Server - VS Code in the browser

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

Blizzard-Jailbreak - An Open-Source iOS 11.0 -> 11.4.1 (soon iOS 13) Jailbreak, made for teaching purposes.