glitch_studio Svelte Themes

Glitch_studio

Browser-based digital art application for glitch effects. Svelte 5 + Canvas API.

Glitch Studio

Browser-basierte Digital Art Applikation fΓΌr Glitch-Effekte. Think Pixelmator, but for glitch art.

Status

🟑 Pausiert

Ziel

Eine intuitive Browser-App zur Erstellung von Glitch Art. Bilder hochladen, modulare Effekte stapeln und als PNG exportieren. Experimentierfeld fΓΌr Canvas API, Svelte 5 und modulare Architektur.

Was es macht

Load any image, apply modular glitch effects, and export the result. Effects are stackable -- the output of one module feeds into the next.

Core Modules

  • Channel Shift -- Shift RGB color channels independently for chromatic distortion
  • Pixel Sort -- Sort pixels by brightness, hue or saturation for classic glitch streaks
  • Databend -- Manipulate raw pixel data at byte level for chaotic effects
  • Scan Lines / CRT -- Retro CRT monitor effects with scanlines, noise and vignette

Tech Stack

  • Svelte 5 + SvelteKit (SPA mode)
  • Vite
  • TypeScript
  • Native Canvas API for image processing
  • No external runtime dependencies

Schnellstart

# Dependencies installieren
npm install

# Dev-Server starten
npm run dev

# Build fΓΌr Produktion
npm run build

Open http://localhost:5173

Verwendung

  1. Drag-and-drop an image or click Import
  2. Activate modules via checkboxes in the left panel
  3. Click a module name to adjust its parameters
  4. Sliders update the preview in real-time
  5. Click Export to download the result as PNG

Projektstruktur

glitch_studio/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ lib/
β”‚   β”‚   β”œβ”€β”€ types/       # GlitchModule interface, parameter types
β”‚   β”‚   β”œβ”€β”€ state/       # Svelte 5 reactive app state
β”‚   β”‚   β”œβ”€β”€ modules/     # Effect modules (channel-shift, pixel-sort, databend, scanlines)
β”‚   β”‚   β”œβ”€β”€ engine/      # Image loading, processing pipeline, export
β”‚   β”‚   └── components/  # UI components (panels, controls, canvas)
β”‚   └── routes/          # SvelteKit page
β”œβ”€β”€ docs/                # Konzepte, Architektur
β”œβ”€β”€ assets/              # Bilder, Designs
β”œβ”€β”€ .claude/             # Claude Code Kontext
β”‚   └── instructions.md
β”œβ”€β”€ BACKLOG.md
β”œβ”€β”€ CHANGELOG.md
└── README.md

Neues Modul hinzufΓΌgen

  1. Neues File in src/lib/modules/ erstellen mit GlitchModule Interface
  2. In src/lib/modules/index.ts registrieren
  3. Fertig – UI-Controls werden automatisch aus den Parameter-Definitionen generiert

Lernziele

  • Canvas API und Pixel-Level Image Manipulation
  • Svelte 5 Runes und Reactive State Management
  • Modulare Architektur mit Registry Pattern
  • Real-time Image Processing im Browser

Funktionale Ziele

  • Intuitive UI fΓΌr kreative Bildmanipulation
  • Modulares Effekt-System, einfach erweiterbar
  • Real-time Preview mit Debounced Processing
  • Export als PNG

Kategorie

Creative & Web

Lizenz

MIT – Experimental lab.pixelfreund.ch project

Top categories

Loading Svelte Themes