MCPcopy Index your code
hub / github.com/eliotbo/bevy_shadertoy_wgsl

github.com/eliotbo/bevy_shadertoy_wgsl @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
159 symbols 207 edges 23 files 6 documented · 4%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

bevy_shadertoy_wgsl

A Shadertoy clone for the Bevy game engine, where the glsl language is replaced by wgsl.

Clone the repo, and for example run the following command:

cargo run --release --features bevy/dynamic --example paint_streams

Here is a GLSL to WGLSL converter that might be helpful: https://eliotbo.github.io/glsl2wgsl/

TODO: make compatible with WASM

See the LICENSES file for the individual examples.

Core symbols most depended-on inside this repo

make_and_load_shaders2
called by 12
src/lib.rs
run
called by 12
src/lib.rs
format_and_save_shader
called by 5
src/lib.rs
make_new_texture
called by 5
src/lib.rs
format_and_save_shader
called by 5
bin/main.rs
into_crevice
called by 1
src/lib.rs
make_and_load_shaders2
called by 1
bin/main.rs
run
called by 1
bin/main.rs

Shape

Function 59
Class 55
Method 43
Enum 2

Languages

Rust100%

Modules by API surface

src/lib.rs33 symbols
bin/main.rs23 symbols
bin/texture_d.rs11 symbols
bin/texture_c.rs10 symbols
bin/texture_b.rs10 symbols
bin/texture_a.rs10 symbols
src/texture_d.rs8 symbols
src/texture_c.rs7 symbols
src/texture_b.rs7 symbols
src/texture_a.rs7 symbols
examples/simpler_particles/fps.rs7 symbols
examples/paint_streams/paint_streams.rs4 symbols

For agents

$ claude mcp add bevy_shadertoy_wgsl \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page