Bitfielder

Settings

Shader Library

Bitfielder Help

Keyboard Shortcuts

Ctrl+Enter - Execute shader code

F11 - Toggle fullscreen

H - Hide/show UI

R - Generate random shader

S - Share current shader (copy URL)

? - Show this help

Variables

x, y - Pixel coordinates

t - Time (enables animation)

i - Pixel index

mouseX, mouseY - Mouse position (0.0 to 1.0)

mousePressed - Mouse button down (true/false)

mouseVX, mouseVY - Mouse velocity

mouseClickTime - Time since last click (ms)

Touch & Gestures

touchCount - Number of active touches

touch0X, touch0Y - Primary touch position

touch1X, touch1Y - Secondary touch position

pinchScale - Pinch zoom scale factor

pinchRotation - Pinch rotation angle

Device Motion

accelX, accelY, accelZ - Accelerometer data

gyroX, gyroY, gyroZ - Gyroscope rotation rates

Audio Reactive

audioLevel - Overall audio volume (0.0-1.0)

bassLevel - Low frequencies (0.0-1.0)

midLevel - Mid frequencies (0.0-1.0)

trebleLevel - High frequencies (0.0-1.0)

Click "Enable Audio" to activate microphone

Operators

^ & | - XOR, AND, OR

<< >> - Bit shift left/right

+ - * / % - Math operations

Shader Library

Hover over the right edge of the screen to access the shader library

Save shaders with custom names and search through them

Use edit to rename, del to delete

Render Modes

Classic - Original colorful mode

Grayscale - Black and white

Red/Green/Blue - Single color channels

HSV - Hue-based coloring

Rainbow - Spectrum coloring

Export

Export PNG - Save current frame as image

About

Bitfielder - Interactive bitfield shader editor

Created by BuboBubo (Raphaƫl Forment)

Website: raphaelforment.fr

Source: git.raphaelforment.fr

License: AGPL 3.0

Performance warning: Shader taking too long to render!