</> APL Run Loading interactive WebAssembly workspace…

Interactive APL → WebGPU (WGSL) Mandelbrot Fractal Explorer

Explore the Mandelbrot fractal in real time. APL Run compiles pure APL matrix expressions directly into WebGPU WGSL compute shaders executed on your GPU, with automatic CPU fallback and live APL ↔ WGSL shader inspection.

re ← ¯2.5 + 3.5 × (¯1+⍳W) ÷ W-1
im ← 1.2 + ¯2.4 × (¯1+⍳H) ÷ H-1
CR ← (H⍴1)∘.×re ⋄ CI ← im∘.×W⍴1