cosmic
zig_learn_opengl
cosmic | zig_learn_opengl | |
---|---|---|
8 | 1 | |
315 | 65 | |
- | - | |
3.5 | 1.7 | |
about 1 year ago | about 1 year ago | |
Zig | Zig | |
MIT 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.
cosmic
-
Zig is becoming more production-worthy - zigmonthly
What if you could develop native applications in JavaScript or WASM, with a runtime that is not Electron? Cosmic is one answer to that, and a project to keep an eye on for sure:
-
3D Animation and Dynamic Lighting
You can play with the demo by running the example code here: https://github.com/fubark/cosmic/blob/master/graphics/examples/3d.zig
-
Updates to Cosmic Graphics, Text, UI.
Example can be found at https://github.com/fubark/cosmic/blob/master/ui/examples/text_demo.zig
-
UI Engine in Zig
Definitely want to target Vulkan/Metal/DirectX. Also would like to support WebGPU when it's ready. The drawing is conveniently abstracted away in https://github.com/fubark/cosmic/blob/master/graphics/src/graphics.zig
-
Polygon Tessellator in Zig
The demo app is at https://github.com/fubark/cosmic/blob/master/tools/visual-tess.js and the zig implementation is at https://github.com/fubark/cosmic/blob/master/graphics/src/tessellator.zig
-
A runtime for Javascript built with Zig and V8.
I have been working on a general purpose runtime for JS. It's at a point where it's functional on linux/macos/windows with examples including a fun paddle ball game. https://github.com/fubark/cosmic
- 2D Graphics Lib for UI/games
zig_learn_opengl
What are some alternatives?
cosmic - Computer Operating System Main Interface Components
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
ziglua - Zig bindings for the Lua C API
bun - A fast all-in-one JavaScript runtime [Moved to: https://github.com/oven-sh/bun]
zigimg - Zig library for reading and writing different image formats
mach - zig game engine & graphics toolkit
fundude - Gameboy emulator: Zig -> wasm
zig_vulkan - Toying with vulkan and zig
zigtoys - All about Zig + WASM and seeing what we can do
bun - Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
zero-graphics - Application framework based on OpenGL ES 2.0. Runs on desktop machines, Android phones and the web