add readme
run on gpu
fix grad vec generation mishap in perlin.zig
Generates perlin noise, once on the CPU with the perlin noise function in perlin.zig
,
and once on the GPU using wgpu with the frag.wgsl
shader and the example code in the main.zig
.
Requires following libraries to be present in a ./libs/
directory:
all can be found in the zig-gamedev
repository here
This code is public domain, do whatever, have fun