NeonDreams

Interactive generative art ecosystem built with WebGPU and WASM-powered algorithms. Evolving particle simulations that respond to cursor motion and audio analysis.

🧪 Code Preview 🤝 Contribute

Technical Architecture

WebGPU Rendering

High-performance GPU-accelerated rendering pipelines for complex fractal math and lighting effects

WASM Core Engine

Self-contained logic engine with compiled Rust for real-time simulation updates

Modular System

Pluggable architecture for sound-reactive visualizers, particle systems, and shader experiments

Code Sample

// Fractal generation algorithm
fn generate_fractal(x: f64, y: f64) -> f64 {
    let mut zr = 0.0;
    let mut zi = 0.0;
    let mut i = 0;
    
    while zr*zr + zi*zi < 4.0 && i < MAX_ITER {
        let nzr = zr*zr - zi*zi + x;
        let nzi = 2.0*zr*zi + y;
        zr = nzr;
        zi = nzi;
        i += 1;
    }
    return if i < MAX_ITER { i as f64 / MAX_ITER as f64 } else { 0.0 };
}

#[no_mangle]
pub fn compute() -> JsValue {
    // WASM export logic
    // ...
}
                

Ready to explore the codebase?

This project uses Rust + WASM with WebGPU for native-level performance in the browser. The repository is actively maintained with bi-weekly updates.

🔄 View on GitHub 🛠 Start Contributing
```