~zenomat/zig-perlin-noise

perlin noise in zig, visualized with raylib
add readme
run on gpu
fix grad vec generation mishap in perlin.zig

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~zenomat/zig-perlin-noise
read/write
git@git.sr.ht:~zenomat/zig-perlin-noise

You can also use your local clone with git send-email.

#zig-perlin-noise

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:

  • system-sdk
  • zglfw
  • zgpu
  • zgui
  • zpool

all can be found in the zig-gamedev repository here

#LICENSE

This code is public domain, do whatever, have fun