WgShadertoy
by fralonra
A WGSL playground inspired by Shadertoy
Dangerous permissions
Verified creator
MIT
v0.3.3
About
WgShadertoy is a WGSL playground inspired by Shadertoy.
It uses a binary format 'wgs' to save and load shaders and textures.
The runtime currently provides six parameters you can use in your shader as a uniform variable:
- cursor vec2 The mouse position in pixels.
- mouse_down u32 Whether the left button of the mouse is down.
- mouse_press vec2 The mouse position in pixels when the left button is pressed.
- mouse_release vec2 The mouse position in pixels when the left button is released.
- resolution vec2 The resolution of the canvas in pixels (width * height).
- time f32 The elapsed time since the shader first ran, in seconds.
Permissions
2 permissions weaken the sandbox. Flatsonar asks before installing.
- full access to your entire file system
--filesystem=host - X11 display: X11 lets apps read input and windows of other apps
--socket=x11 - inter-process communication (needed for X11)
--share=ipc - GPU acceleration
--device=dri
Who publishes this
The creator demonstrably controls this app id: Flathub verification, the hosting account owns the namespace, or a well-known file on their domain.
- verified on Flathub: the developer proved they control this app id
publisher:flathub
Maintenance
Recent activity on the upstream repository, or built and reviewed by Flathub.
No staleness signals: recent activity, or built and reviewed by Flathub.