nanovg
libGDX
Our great sponsors
nanovg | libGDX | |
---|---|---|
18 | 61 | |
5,006 | 22,661 | |
- | 0.6% | |
1.7 | 8.8 | |
about 1 month ago | 7 days ago | |
C | Java | |
zlib License | Apache License 2.0 |
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
-
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
-
2D graphics lib recommendation?
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
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.
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
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
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?
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
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
> 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.
libGDX
-
Show HN: Integer Map Data Structure
Neat, thank you! I'd love to see how it compares to the libgdx IntMap[0].
[0] https://github.com/libgdx/libgdx/blob/master/gdx/src/com/bad...
-
OSS Game Engines are increasing their stars on GitHub due to Unity's missteps
For anyone interested, LibGDX[1] is a very nice open-source game engine for Java. It is cross-platform (mobile, PC/mac, web). Very popular and well maintained, too.
[1] https://github.com/libgdx/libgdx
-
Transfer from Processing to LibGDX. I need your advises.
Source is also available on github https://github.com/libgdx/libgdx to directly check the implementation of a specific classes.
-
(Java) Is there any way to convert InputStream to temp File without OutputStream?
And let me explain, for example jorbis this library has a lot of nested loops in it, i understand why this library using this, but this is really bad. Because when I am trying to use library with this code, this taking so much time to convert ogg to pcm, and yes I know that converting ogg to pcm is a hard process, but I need to optimize my program, make it more better. The main thing is EVERY decoding ogg file library using the same piece of code! And I am not joking for example libgdx.
-
(Java) How to .ogg file convert to pcm?
What the pcm file contains? And what is the structure? What data I should use for converting .ogg file into pcm? Is there any information about pcm files? Is there any repositories in github that converts .ogg files into pcm? (I am already know there is JVorbis, libgdx and jorbis but thats not what i want)
-
This Watcher seed is divine, its a sin to not try it out if you can. (on pc)
There's a code snippet showing the seed generation and how it feeds into each RNG pattern but it also mentions the use of a "xorshift128+ algorithm" here: https://github.com/libgdx/libgdx/blob/master/gdx/src/com/badlogic/gdx/math/RandomXS128.java
-
Contacting an author of libGDX or someone that can answer a legal question?
I can't guarantee you'll get a reply, but Mario and Nate's email addresses are in the AUTHORS file.
-
Instancing/Instanced Rendering in LibGDX (3D)
I found an example for rendering a [Mesh] object using instancing in LibGDX's tests (link), but I'm not sure how to apply that for rendering actual models.
-
How to convert gradle project to ant project?
assuming you use that (https://github.com/libgdx/libgdx/blob/master/build.gradle) as your starting point. You first have to ask what it is that your build should cover. Do you need all the spotless checks and release flags and so on or do you just need to package everything up so that it could run.
-
Forking a Java library
Fork this open-source Java + Gradle based project: https://github.com/libgdx/libgdx
What are some alternatives?
Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.
jMonkeyEngine - A complete 3-D game development suite written in Java.
imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
LWJGL - LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.
DiligentEngine - A modern cross-platform low-level graphics library and rendering framework
FXGL - Java / JavaFX / Kotlin Game Library (Engine)
sokol - minimal cross-platform standalone C headers
Cocos2d - Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
MetalNanoVG - The Metal port of NanoVG.
Litiengine - LITIENGINE 🕹 The pure 2D java game engine.
bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
LiquidFun - 2D physics engine for games