2025-07-14 21:08:21 +02:00
2025-07-15 01:20:24 +02:00
2025-07-05 02:37:35 +02:00
2025-07-06 13:11:19 +02:00
2025-07-06 13:11:19 +02:00
2025-07-05 02:34:28 +02:00
2025-07-06 13:11:19 +02:00
2025-07-06 13:11:19 +02:00
2025-07-05 00:58:53 +00:00
2025-07-06 13:11:19 +02:00
2025-07-06 13:11:19 +02:00
2025-07-06 13:11:19 +02:00
2025-07-06 13:11:19 +02:00
2025-07-06 13:11:19 +02:00
2025-07-08 15:08:41 +02:00

Bitfielder

A minimalist live shader editor for bitfield patterns.

Features

  • Live coding - Real-time shader compilation and rendering
  • Performance controls - Adjustable FPS (15/30/60) and resolution scaling
  • Shader library - Save, search, and organize shaders
  • Live performance mode - Minimal UI for fullscreen presentations
  • URL sharing - Share shaders via encoded URLs

Installation

npm install
npm run dev

Usage

Basic Controls

  • Ctrl+Enter - Execute shader code
  • H - Toggle minimal UI mode
  • F11 - Fullscreen
  • R - Random shader
  • M - Cycle value modes
  • S - Share URL

Shader Variables

  • x, y - Pixel coordinates
  • t - Time (enables animation)
  • i - Pixel index

Operators

  • ^ & | - XOR, AND, OR
  • << >> - Bit shift
  • + - * / % - Math operations

Library

Hover the right edge of the screen to access the shader library. Save shaders with custom names and search through your collection.

Examples

x^y                    // Basic XOR pattern
(x*y)%256             // Multiplication pattern
(x+y+t*10)%256        // Animated pattern
((x>>4)^(y>>4))<<4    // Bit-shifted XOR

Build

npm run build
Description
A live codable bitfield shaders editor
Readme 656 KiB
Languages
TypeScript 90.4%
CSS 6.1%
JavaScript 2.3%
HTML 1.1%
Dockerfile 0.1%