Live: https://eg0pr0xy.github.io/WURM/
WURM is a high-performance, rule-based generative art studio for modernist-inspired abstract posters. It uses a procedural duplication engine to stack primitive shapes along cubic Bézier paths, yielding flowing, ribbon-like structures with controlled, deterministic motion.
WURM bridges algorithmic rigor with organic fluidity. Inspired by mid-century Swiss Modernism and contemporary generative aesthetics, it treats geometry as a fluid medium. By manipulating the path “DNA” and duplication “Rhythm,” users craft results ranging from brutalist stacks to psychedelic vortexes.
Real-time cubic Bézier path solver:
- Direct Manipulation: Drag handles (P0–P3) on-canvas to reshape flow.
- Procedural Morphing: Optional time-based modulation for subtle movement.
- Accurate Orientation: Shapes align to path tangents from first derivatives.
- Path Mode: Classic flow along a 4-point spline.
- Circular Mode: Radial/spiral arrangements.
- Grid Mode: Deformed Cartesian layouts with per-cell jitter.
- Theme-aware generator: Produces high-contrast, modernist palettes without external AI.
- Strong legibility: Neutral anchors (black/white) with deterministic accents.
- Manual override: Edit colors directly or choose a preset.
- SVG: High-fidelity vector export.
- Video: 60FPS WebM/VP9 motion capture of the procedural loop.
- Clean backgrounds: High-contrast, outline-free rendering.
- Framework: React 19 (ESM)
- Styling: Tailwind CSS
- Palette: Deterministic, theme-aware generator (no external AI)
- Graphics: SVG with matrix transforms
- Math: Custom cubic Bézier solvers and seeded pseudo-random helpers
- Initialize: Click “Random Logic” for a baseline aesthetic.
- Sculpt: Toggle “Guide Handles” and drag nodes to define the backbone.
- Refine: Use “Spatial Parameters” to adjust density and scale.
- Color: Click “Generate Palette” for a theme-aware color set or edit colors directly.
- Loop: Toggle animation to watch the system evolve.
- Capture: Export as SVG/PNG/JPG or record a video loop.
Built for generative designers and algorithmic artists.
- Hosted on GitHub Pages via Actions. Every push to
mainbuildsdist/and deploys. - Workflow:
.github/workflows/deploy.yml(usesactions/configure-pages,upload-pages-artifact, anddeploy-pages). - Vite
baseis set to/WURM/in production for correct asset paths on Pages.
Local
- Dev:
npm installthennpm run dev - Build:
npm run build(output indist/)
Troubleshooting
- Ensure repo Settings → Pages → Build and deployment = GitHub Actions.
- If the deploy job fails, open the workflow run and share logs to debug.
Dieser Abschnitt fasst den aktuellen Funktionsumfang und die letzten Änderungen zusammen, damit der nächste Schritt sicher geplant werden kann.
- Canvas/Preview
- Kein App‑Zoom/‑Pan mehr (WYSIWYG: Vorschau entspricht Export). Doppelklick‑Fit entfernt (nicht mehr nötig).
- Studio‑grauer Arbeitsbereich außerhalb der Artboard‑Fläche (wird nicht exportiert).
- Steuerung (Top‑Leiste in der Sidebar)
- „Random WURM“ als prominenter Start‑Button.
- „Resume WURM“/„Pause WURM“ direkt daneben (Animation toggeln).
- „Reset All“: setzt alle Werte auf Default (inkl. Typo/Palette etc.).
- Export/Orientation
- Orientierung (Portrait/Landscape) spiegelt sich im Preview (Rotation) und in allen Exportwegen (SVG/PNG/JPG/PDF).
- PDF: Bleed, Crop‑Marks, Custom‑Size, Portrait/Landscape – vektorisiert (svg2pdf) oder hochauflösender Raster‑Fallback (pdf‑lib).
- Farbe/Paletten
- „Generate Palette“ erzeugt unendlich viele, deterministisch vielfältige Paletten (Random‑Harmony).
- Neue/angepasste Presets: Bauhaus, Brutal, GOETHE, Psychedelic, Gen‑Z (Bezeichnungen aktualisiert).
- Option „Random Background“: Wenn aktiv, wird beim Paletten‑Generieren auch der Hintergrund zufällig aus der Palette gesetzt.
- Gradients
- Globaler Farbverlauf (linear/radial) über die Komposition.
- Optional „Per Ribbon Gradient“: Eigener Verlauf pro Ribbon samt Jitter‑Reglern
- Winkel‑Jitter (±°) pro Ribbon
- Stop‑Offset‑Jitter (0–25%) pro Ribbon
- Blend/Compositing
- „Duplicate Layer for Blend“: Duplikat wird leicht versetzt/rotiert (seed‑basiert), damit Blend‑Effekte sichtbar sind.
- Typografie/Text
- Default‑Schrift: Arial (mit sauberem Fallback‑Stack).
- Presets verschlankt (Inter/Nimbus/IBM entfernt), Custom‑Upload möglich.
- Text‑Stroke/Outline funktioniert auch für Shape‑Type „TEXT“.
- Letter‑Spacing, Weight, Style (Regular/Italic) steuerbar.
- Layout/Engine
- Path, Circular, Grid, Text – mit konsistenter Loop/Phase; Flow Cycles wirken in allen Modi.
- Taper Amount/Freq überarbeitet – visuell wirksam.
- Width Modulation/Frequency als zusätzliche Größen‑Kontrolle.
- Slider‑UX
- Einheitliche Slider‑States: Idle/Hover/Active; Active = Outline‑Only‑Thumb (präzises, ruhiges Feedback).
- Entfernt/umgebaut
- „Paper Texture“ entfernt.
- „Reseed Sequence“ entfernt (Random WURM deckt den Use‑Case besser ab).
- Randomize überschreibt den Text nicht mehr (Default „WURM“ bleibt, bis der Nutzer ändert).
Bekannte Punkte/Nächste sinnvolle Schritte
- Optionaler „Inspect Mode“ (temporärer Zoom) – aktuell absichtlich weggelassen wegen WYSIWYG‑Fokus.
- Worker Compute existiert weiterhin; für sehr große Szenen könnten wir ein dezidiertes Worker‑Ticking in Betracht ziehen.
- Video‑Export: Derzeit loopDuration‑basiert; auf Wunsch Presets für Videogrößen oder exakte Frame‑Anzahl/Framerate‑Kontrolle.