femtovg
gdnative
Our great sponsors
femtovg | gdnative | |
---|---|---|
32 | 93 | |
741 | 3,554 | |
1.9% | 0.2% | |
7.7 | 6.4 | |
7 days ago | 8 days ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | MIT License |
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.
femtovg
-
Recommended UI framework to draw many 2D lines?
Femtovg (https://github.com/femtovg/femtovg) which uses OpenGL to render
-
tinydraw 0.1.1
Congrats! I don't want to diminish the accomplishment, but have you seen femtovg? It seems like it's probably well-aligned with your needs.
-
Bevy vector graphics library?
I'm currently using femtovg for vector graphics in my games, and I would like to get into bevy by porting one of my game prototypes using it to bevy.
-
Decision paralysis: ggez or macroquad
I use femtovg It's a simple vector graphics engine having all the important features you probably want from a 2D rendering engine: simple shapes, images, text
-
femtovg VS lyon - a user suggested alternative
2 projects | 21 May 2022
-
Keeping POWER relevant in the open source world
https://github.com/femtovg/femtovg/pull/5
Before Power10 was done, IBM actually asked us Raptor users about proposals for useful machine code instructions to add to it. I replied that Iād like to have hardware UTF-8 de-/encoding but they wanted a more detailed proposal and I never got around to write it. Iām not even sure that this would be worthwhile, but I see UTF-8 de-/encoding everywhere in the code I write and would like it to approach memory read/write speeds.
I was very disappointed to learn that they had gone more proprietary with Power10 so I would not have been able to use those instructions anyway. What a pity!
-
How to use a Rust WebAssembly module in Svelte with Web Workers
In my actual code, I'm using a library called femtovg that is a Rust port of a C library for 2D rendering. But In the blog post I kept the example simple to keep it relevant for people who might want to use Web Workers + WASM for other things; didn't want to get hung up on femtovg for someone who had never heard of it. As you say, if you all you need to do is basic 2D manipulations of a canvas that are supported by the native API, then you likely don't need WASM.
-
Iced: A cross-platform GUI library for Rust, inspired by Elm
You guys should also check out the femtovg project, a 2D rendering API that sixty fps relies on.
https://github.com/femtovg/femtovg
It's a decent starting point for trying to build your own toolkit.
I have recently added a wgpu backend but for now it lives in my fork https://github.com/adamnemecek/femtovg
run the demo with `cargo run --example wgpu_demo --release`.
Also join the femtovg discord https://discord.gg/V69VdVu
-
Any recommended resources for beginning graphics with Rust
I'm involved with the femtovg project. We are definitely looking for contributors. Join the discord channel.
-
Good GUI toolkit/library recommendations needed
It's not a GUI framework but I'm involved with this project called femtovg, it's a Rust nanovg port. I've recently added a wgpu backend. Run the demo with cargo run --example wgpu_demo --release. Some people have been using it for their own UIs, e.g. tuix. I think that you should consider rolling your own GUI toolkit, it's not that bad and you'll appreciate the control.
gdnative
- Can someone explain how exactly are multiple languages supported in a single game engine
- Will rust ever become a first class citizen in Godot?
-
Non web-based crossplatform GUI frameworks focused on security
It's a little less standard use, but Godot has been used to build application guis, which could be paired with rust bindings to implement app logic. I can't speak to reproducibility/scalability, but Godot's ui is extremely solid, and I'd probably choose that over Bevy until Bevy's ui progress matures.
-
What is Rust's potential in game development?
Adding onto this, I successfully written a game in Godot using gdnative / gdext. I started with a split approach using gdscript and rust for CPU intensive but found that the API layer was slow at transferring large amounts of data (serialization?). I ended up rewriting it in all rust and it worked like a charm. I was able to target native and web assembly, the web assembly was much slower but worked on the browser.
-
Why is it so difficult to learn to use Bevy?
Check this: https://github.com/tomuxmon/bevy_roguelike if you are still into bevy. Scheduling is a bit bork and I have not found time to port it to latest bevy. But most of the systems should work fine(if used on latest bevy). But again. If you want faster result go with something like Godot. In fact, just go with Godot. It is mature, easy to start, no lock in(free and MIT license), a lot of learning material. Also with Godot you can also use Rust https://godot-rust.github.io/. Ditch Unity (do not have time to explain š ). Have fun!
-
GDScript is fine
Bevy Godot-Rust
-
Rust ā Are We Game Yet?
> Same for Godot.
While likely true that it's "Unlikely to ever be as supported" as the 4 officially supported languages[0] ("GDScript, C#, and, via its GDExtension technology, C and C++."), Godot's GDExtension technology is specifically intended for use in adding support for other languages.
The most relevant tracking issue for Rust is presumably:
* <https://github.com/godot-rust/gdnative/issues/824>
Which links to:
* <https://github.com/godot-rust/gdextension>
[0] https://docs.godotengine.org/en/4.0/getting_started/step_by_...
-
OK so whose gonna tell them
...Godot v3.x has Rust support via godot-rust and Godot v4.0 is released as of this month?
-
Godot 4.0 is out
I was curious, and looked it up. Nothing built in, but there's an interesting project that works with godot: https://godot-rust.github.io/
-
There's the Rust Player still going wrong subreddit?
There's people working on it: https://godot-rust.github.io/
What are some alternatives?
glium - Safe OpenGL wrapper for the Rust language.
bevy - A refreshingly simple data-driven game engine built in Rust
Typesense - Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ā” š āØ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences
Godot - Godot Engine ā Multi-platform 2D and 3D game engine
Slint - Slint is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. We support multiple programming languages, such as Rust, C++ or JavaScript. [Moved to: https://github.com/slint-ui/slint]
RG3D - 3D and 2D game engine written in Rust [Moved to: https://github.com/FyroxEngine/Fyrox]
NanoGUI - Minimalistic GUI library for OpenGL
macroquad - Cross-platform game engine in Rust.
nuklear - A single-header ANSI C immediate mode cross-platform GUI library
wgpu - Cross-platform, safe, pure-rust graphics api.
QMetaObject crate for Rust - Integrate Qml and Rust by building the QMetaObject at compile time.
veloren - An open world, open source voxel RPG inspired by Dwarf Fortress and Cube World. This repository is a mirror. Please submit all PRs and issues on our GitLab page.