mkeeter / futureproof

A live editor for fragment shaders, powered by Neovim, WebGPU, and Zig!

Home Page:https://mattkeeter.com/projects/futureproof

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Futureproof is a live editor for GPU shaders, built on Zig, Neovim, and WebGPU.

Seascape

Project homepage

Building

macOS (x86)

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)

Other OS

Good luck - open a PR if you get things working!

Project status

Project done Project unmaintained

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!

License

Licensed under either of

at your option.

Contribution

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.

About

A live editor for fragment shaders, powered by Neovim, WebGPU, and Zig!

https://mattkeeter.com/projects/futureproof


Languages

Language:Zig 92.4%Language:GLSL 6.6%Language:Vim Script 1.0%