Futureproof is a live editor for GPU shaders, built on Zig, Neovim, and WebGPU.
Install freetype
and glfw3
through Homebrew:
brew install freetype glfw3
Get vendored dependencies:
cd futureproof/vendor
make wgpu shaderc
Build using Zig, using a recent nightly build (0.7.1, after 2020-12-31)
cd futureproof
zig build run
(You may need env ZIG_SYSTEM_LINKER_HACK=1
, depending on Zig compiler version)
Good luck - open a PR if you get things working!
This project is done, and I don't plan to maintain it in the future.
It is only claimed to work on my laptop, and even then, will probably break if the Zig compiler version changes.
I'm unlikely to fix any issues, although I will optimistically merge small-to-medium PRs that fix bugs or add support for more platforms.
If you'd like to add major features, please fork the project; I'd be happy to link to any forks which achieve critical momentum!
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.