nanovg
ish
nanovg | ish | |
---|---|---|
2 | 153 | |
27 | 15,995 | |
- | 1.2% | |
0.0 | 9.7 | |
almost 5 years ago | 6 days ago | |
C | C | |
zlib License | GNU General Public License v3.0 or later |
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
-
So you want to write a GUI framework
BGFX is a general-purpose 3D graphics engine, not a GUI nor vector graphics framework.
Nanovg is an awesome vector graphics library, but has limitations. (1) no ClearType, I fixed in my fork: https://github.com/Const-me/nanovg (2) The only way to get AA is hardware MSAA, unfortunately many popular platforms like Raspberry Pi don’t have good enough hardware to do it fast enough. Nanogui is built on top of Nanovg, shares the limitations.
I agree with the OP that Cairo and Skia are the only viable ones for Linux.
It’s sad because Windows has Direct2D for decades now (introduced in Vista), and unlike 2006, now in 2021 Linux actually has all the lower-level pieces to implement a comparable equivalent. Here’s a proof of concept: https://github.com/Const-me/Vrmac#vector-graphics-engine
-
2D Graphics on Modern GPU (2019)
> in your words, that "the quality is not good"
Oh, you were asking why I said so? Because I have clicked the “notes document” link in the article, the OP used the same tiger test image as me, and that document has a couple of screenshots. And these were the only screenshots I have found. Compare them to screenshots of the same vector image rendered by my library, and you’ll see why I noted about the quality.
> Vrmacs draws paths by decomposing them into triangles, rendering them with the GPU rasterizer, and antialiasing edges using screen-space derivatives in the fragment shader.
More or less, but (a) not always, thin lines are different. (b) that’s a high-level overview but there’re many important details on the lower levels. For instance, “screen-space derivatives of what?” is an interesting question, critically important for correct and uniform stroke widths. The meshes I’m building are rotation-agnostic, and to some extent (but not completely) they are resolution-agnostic too.
> and it is perfectly capable of rendering high-quality small text on the GPU
It is, but the performance overhead is massive, compared to GPU rasterizer rendering these triangles. For real-world vector graphics that doesn’t have too much stuff per pixel that complexity is not needed because triangle meshes are good enough already.
> it looks like it occupies a sweet spot similar to NanoVG
They’re similarities, I have copy-pasted a few text-related things from my fork of NanoVG: https://github.com/Const-me/nanovg/ However, Vrmac delivers much higher quality of 2D vector graphics (VAA, circular arcs, thin strokes, etc), is much faster (meshes are typically reused across frames), and is more compatible (GL support on Windows or OSX is not good, you want D3D or Metal respectively).
ish
-
Apple must open iPadOS to sideloading within 6 months, EU says
> Just imagine how much more versatile the iPad Pro would be if only you could run Linux VMs on it
After installing https://ish.app for Alpine Linux emulation on iPad, one immediately comes up with use cases, even though it's excruciatingly slow.
Hopefully Apple opens up the imminent M3 iPad Pros to run macOS and Linux VMs.
-
Homelab Adventures: Crafting a Personal Tech Playground
iSH
-
Ente: Open-Source, E2E Encrypted, Google Photos Alternative
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?
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
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
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
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
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
- Lima: A nice way to run Linux VMs on Mac
What are some alternatives?
vello - An experimental GPU compute-centric 2D renderer.
UTM - Virtual machines for iOS and macOS
bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
termux-packages - A package build system for Termux.
libGDX - Desktop/Android/HTML5/iOS Java game development framework
box64 - Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
msdfgen - Multi-channel signed distance field generator
AltStore - AltStore is an alternative app store for non-jailbroken iOS devices.
ds_cinder - An application framework built on Cinder
Code-Server - VS Code in the browser
nanovg - Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.
Blizzard-Jailbreak - An Open-Source iOS 11.0 -> 11.4.1 (soon iOS 13) Jailbreak, made for teaching purposes.