Flatnic

Linux · Graphics & Design

WgShadertoy

A WGSL playground inspired by Shadertoy

by fralonra

Download

Official site: flathub.org

About WgShadertoy

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.

How to install WgShadertoy

  1. Click Download — the developer's official website opens in a new tab.
  2. Download the latest version there and run it. Choose Custom/Advanced where offered, and skip any bundled extras.
  3. Prefer the command line? With Flatpak you can install and update it with: flatpak install flathub io.github.fralonra.WgShadertoy
  4. Open WgShadertoy once it finishes installing.
How to install Linux apps with Flatpak

Frequently asked questions

Is WgShadertoy free to download?

Yes. The Download button sends you to flathub.org, the developer's official site, where WgShadertoy is available to download. Flatnic doesn't host or modify any files.

How do I install WgShadertoy from the command line?

With Flatpak, run: flatpak install flathub io.github.fralonra.WgShadertoy. This installs it from the official source and keeps it updated.

Is WgShadertoy safe?

WgShadertoy downloads directly from the developer. As always, scan the installer with your antivirus and choose Custom setup to skip any bundled extras.

Alternatives to WgShadertoy

More