mach-examples
score
mach-examples | score | |
---|---|---|
5 | 99 | |
88 | 1,428 | |
- | 1.1% | |
9.2 | 9.6 | |
2 months ago | 2 days ago | |
Zig | C++ | |
GNU General Public License v3.0 or later | 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.
mach-examples
-
Learn WebGPU
Zig fits pretty naturally here too. We've got ~19 WebGPU examples[1] which use Dawn natively (no browser support yet), and we build it using Zig's build system so it 'just works' out of the box with zero fuss as long as you grab a recent Zig version[2]. No messing with cmake/ninja/depot_tools/etc.
WASM support in Zig, Rust, and C++ is also not equal. C++ prefers Emscripten which reimplements parts of popular libraries like SDL, for me personally that feels a bit weird as I don't want my compiler implementing my libraries / changing how they behave. Rust I believe generally avoids emscripten(?), but Zig for sure lets me target WASM natively and compile C/C++ code to it using the LLVM backend and soon the custom Zig compiler backend.
[1] https://github.com/hexops/mach-examples
[2] https://github.com/hexops/mach#supported-zig-version
-
Mach (Zig) Adventures - Part 1
git clone --recursive https://github.com/hexops/mach-examples cd mach-examples/ zig build run-sprite2d
-
Just found out about Zig and wonder what would be the best graphics library to pair with it?
Mach core (pretty much ready for use today): a modern alternative to e.g. SDL+OpenGL which gives you just a Window+Input+GPU. We have ~16 examples including texturing, PBR, deferred rendering, etc.
-
Learning Modern 3D Graphics Programming
links to the github examples are all busted: https://github.com/hexops/mach-examples/tree/main/cubemap
- mach-examples: 15+ standalone Mach core examples (WebGPU, sysaudio, etc.)
score
- Learn How to Build Your Own Max for Live Devices
-
Qt Widgets Rendering Pipeline
https://ossia.io uses widgets and qgraphicsscene for the main UI rendering and Qt rhi for the GPU pipeline, and it's performing well enough for our use-cases - I was working on it on a 1080p screen on a Pi4 recently and it certainly felt much much faster and responsive than chrome on the same hardware.
-
Is it possible to do runtime compilation and execution of C code?
I use it for live c++ recompilation in https://ossia.io - all the code is in there. https://github.com/ossia/score/tree/master/src/plugins/score-plugin-jit/JitCpp
-
Show HN: New visual language for teaching kids to code
> I feel like visual programming gets a bad rap because of things like this. As an electronic engineer that used to love LabView and life long user of NI Reaktor and Max/MSP, those tools are fantastic if you don’t approach them with an imperative programming mindset.
aha, in the long run I ended up making https://ossia.io which is as VPL as it can get. Yet it still embeds a LOT of textual languages.
-
CLion Nova Explodes onto the C and C++ Development Scene
For me both VSCode and CLion lag heavily.. whenver I tried CLion it was completely unuseable on my project https://ossia.io which is only 500kloc (and I try to try it pretty much once a year since it was in beta)
-
Visual Node Graph with ImGui
https://ossia.io does some of it, I've been working on a new release that also supports the whole QtQuick stack in the node graph items but you can already combine videos & shader effects
-
Speed Up C++ Compilation
In https://ossia.io with PCH, using clang, ninja, mold, and some artificial split in shared libraries for development builds, I get a compile-edit-run cycle of a couple seconds in general... I wouldn't say it's too much of a problem if you use the tools already available
-
Looking for open source projects to contribute to
If you're interested in multimedia https://ossia.io is always looking for new contributors!
-
New To Lighting Design, Looking for guidance
Tools like Ossia Score, Chataigne and PureData (pd) can also help a ton in building interactive art and triggering other A/V software.
-
Audio Reactive MIDI
here's a simple example of how to do it in https://ossia.io score : https://streamable.com/wkklek
What are some alternatives?
webassembly-canvas - Draw canvas using WASM
seq66 - Seq66: Seq24-based live MIDI looper/editor. v. 0.99.12 2024-01-13. NSM support; Linux/Windows/FreeBSD; PDF user manual. Help access to tutorial and PDF. Beta code in portfix branch.
mach - zig game engine & graphics toolkit
BespokeSynth - Software modular synth
LearnOpenGL - Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
atemOSC - Control ATEM video switchers over the network with OSC messages
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
BespokeSynth - Software modular synth [Moved to: https://github.com/BespokeSynth/BespokeSynth]
angle - A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.
scheme-for-max - Max/MSP external for scripting and live coding Max with s7 Scheme Lisp
ArrayFire - ArrayFire: a general purpose GPU library.
vgmtrans - VGMTrans - a tool to convert proprietary, sequenced videogame music to industry-standard formats