Keys
- Space
- pause / resume
- ← →
- seek 1 s (Shift 5 s)
- Home
- restart time
- E or Ctrl+L
- show / hide editor
- F
- fullscreen
- S
- save PNG screenshot
- R
- start / stop WebM recording
- M
- microphone on / off
- C
- copy share link
- I
- stats overlay
- ?
- this help
In the editor
- Ctrl+Enter
- compile now
- Alt+↑ ↓
- nudge the number under the cursor (Shift ×10)
- Ctrl+S
- save as .glsl
- Esc
- close editor
- drop a file
- load a .glsl / .frag
Uniforms
- time
- seconds on the animation clock
- resolution
- canvas size in pixels
- timeDelta, frame
- last frame time, frame counter
- date
- year, month, day, seconds today
- touch, pointers[ ], pointerCount, move
- pointer input
- audio
- sampler2D 512×2, row 0 spectrum, row 1 waveform
- audioLevels
- vec3 low / mid / high, 0..1
- backbuffer
- sampler2D, the previous frame (feedback)
A shader written as mainImage() with no #version runs as a Shadertoy shader: iTime, iResolution, iMouse, iFrame, iDate, iChannel0 (audio) and iChannel1 (previous frame) are provided.